Installing Abaqus 6.10 in Fedora 14
Installing Abaqus in linux is not fun. Fighting with the license manager itself is enough to drive a person crazy. The lucky ones can just follow these steps and it just works. I am not lucky. Hence, this post. This post is mostly for my benefit, so I know what to do if I need to install it again.
Before installing, make sure the folder name does not contain any spaces. I wasted a good part of an hour on this. Check if you have required packages installed. Should be listed in the link. Also make sure you have all the permissions enabled. To make it easy for me, I just gave full permissions to all the files in the Abaqus folder. You can however, give full permissions to just the setup and install.bin files alone.
sudo chmod -R a+rwx /Path_to_Abaqus_folder/ /bin/csh /Abaqus_documentation_dir/setup
You can use /tmp as your scratch directory when prompted.
This is where I hit my first problem. The installation hanged and wouldn’t budge. However, installing the documentation is optional so I went on to step 2.
Installing License Server
Install the license server by entering the following at terminal.
/bin/csh /Abaqus_product_dir/setup -nosystemchecks
Again, you can use /tmp as your scratch directory.
Now I’d recommend creating an Abaqus folder and do all the installation in that folder. Choose the License option when asked, and just install the licensing utilities. I’d leave the installation hanging at where it asks you install the product. Just to spare you the effort of going through the above step again for installing the product.
If you are not able to install the License (this was a issue with Abaqus 6.9 for me) this way, you have another option. Use the install.bin file directly.
Now make install.bin executable.
sudo chmod a+x install.bin ./install bin
Fair warning, this method gave me a No Java Path detected error in this installation. I have not explored this path yet.
Starting the license server
This is the fun part. You really need a valid license for this step. Whatever people may say, there is no need to mess with the license file given to you. I did not have to change the hostname or the number. Or even the port number. My understanding is that the port number becomes an issue only when the port in question is already in use.
Now copy the license file to the folder where the License is installed . Create a document in the License folder and name it LicenseLog.log or anything you wish. These two steps are optional. Just keeping things tidy. Now, moving on to starting the server. This should be as simple as:
/Path_to_Abaqus_License_folder/License/lmgrd -c /Path_to_Abaqus_License_folder/License/licensefilename.dat -l /Path_to_Abaqus_License_folder/License/LicenseLog.log
Check the log for errors. If you did not have a log, your terminal will have a lot gibberish(not really, but still). If no errors, you can happily proceed to Step 4. If not, welcome to a couple a days of misery.
At this point, I got a flexlm -15,570 error. Which, in flexlm speak means
Cannot connect to license server. The server (lmgrd) has not been started yet, or the wrong port@host or license file is being used, or the TCP/IP port or host name in the license file has been changed.
I started checking if the port in question was being used or not and if my firewall was misbehaving. In general, spent a whole day trying out different permutations and combinations.
Finally, I solved it by editing the /etc/hosts file. Which can be accessed by,
sudo gedit /etc/hosts
And adding the line
I am not really sure, why this worked. Because the /etc/hosts already had a similar line.
If you have this error then, you won’t be able to close lmgrd(license server starter) and restart it. Because, the port would be be still listening. Atleast, it was the case in my computer. So first, figure out the port number from the license file. The first line of the license file should say:
SERVER this_host ID = number Port_number
The result should look something like this.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME lmgrd 6125 -------- 0u IPv4 - 0t0 TCP *:27011 (LISTEN)
This will give you the PID number of the process running at the port. My PID in the above table is 6125. At terminal, give the command:
Now you can restart the license. Mine did without any errors.
Now that the license server is up and running, you can proceed with product installation. If you have the abaqus installation window open it should be as easy as clicking next.
When it asks for the license server, say
Now if you have not installed documentation, it should give you a couple of warnings. But just keep hitting ‘continue’.
The most gratifying step of all. Opening Abaqus. It should be as simple as:
But if you have desktop effects enabled and have compiz fusion installed, you will get a very bad-looking abaqus window.
The trick to overcome this is to:
XLIB_SKIP_ARGB_VISUALS=1 /Abaqus_Inst_dir/Commands/abaqus cae
Voila, there it is. Abaqus in its full glory.
For some reason, the license manager threw the same -15,570 error after a couple of days. After a bit of head scratching and rebooting, I added one more line to /etc/hosts file.
The IP_address is the address of your network. Do a ‘ifconfig’ on terminal to figure that out. And computer_hostname is the name of your computer. And cross your fingers and pray that it works.