Abaqus18 On Ubuntu18.04LTS
Abaqus18 On Ubuntu18.04LTS
Abaqus18 On Ubuntu18.04LTS
04LTS
Georgios TZORTZOPOULOS
06/02/2019
1. Install prerequisites
(a) First you have to update all the packages and libraries of Ubuntu 18.04LTS:
(b) Then you should install some basic packages and libraries in order to successfully install
Abaqus and to edit some files afterwards:
sudo apt-get install gedit csh tcsh ksh gcc g++ gfortran libstdc++5 build-essential
make libjpeg62 libmotif-dev libglu1-mesa
https://sourceforge.net/projects/xming/
DSY_OS_Release="CentOS"
1
(c) Also, enter a new line below the 11th line:
export DSY_Skip_CheckPrereq=1
So, the Linux.sh files should look like the one below:
export DISPLAY=:0
cd /directory_of_downloaded_folders_Abaqus18/AM_SIM_Abaqus_Extend.AllOS/1/
sudo ./StartGUI.sh
Follow the instructions (use the default options) and install the parts that you are interested
in. If you face problems with FLEXNET License, just continue the installation without
activation and you will fix this problem later (see: step 5).
4. Make Abaqus available from any directory
After you have finished with the installation of Abaqus 2018, it is wise to make Abaqus
available from any directory:
2
Therefore, in order to run Abaqus CAE, just enter the following command wherever you are:
If you see a warning in the cmd says that ”Your system needs to be reconfigured to allow
OpenGL rendering to a pixmap or Pbuffer;...”, then you should use the following command
in order not to face any transparency problems during the execution of the GUI:
abaqus_v6.env
custom_v6.env
In the new window which was opened, edit the 6th and 7th lines:
license_server_type=FLEXNET
abaquslm_license_file="your_license"
1. You need to open and edit the lnx86_64.env file because the default Fortran compiler in
Abaqus 2018 is ifort and not gfortran:
3
2. So, you should perform the following changes in this file. Let’s start from the 12th line. It is
like this:
compile_fortran = [fortCmd,
’-V’,
’-c’, ’-fPIC’, ’-auto’, ’-mP2OPT_hpo_vec_divbyzero=F’,
’-extend_source’,
’-fpp’, ’-WB’, ’-I%I’, ’-I’+abaHomeInc, ’%P’]
compile_fortran = [fortCmd,
’-c’, ’-fPIC’, ’-extend_source’,
’-Warray-bounds’, ’-I%I’]
link_sl = [fortCmd,
’-V’,
’-cxxlib’, ’-fPIC’, ’-threads’, ’-shared’,’-Wl,--add-needed’,
’%E’, ’-Wl,-soname,%U’, ’-o’, ’%U’, ’%F’, ’%A’, ’%L’, ’%B’,
’-parallel’,
’-Wl,-Bdynamic’, ’-shared-intel’]
link_sl = [fortCmd,
’-fPIC’, ’-pthread’, ’-shared’,
’%E’, ’-Wl,-soname,%U’, ’-o’, ’%U’, ’%F’, ’%A’, ’%L’, ’%B’,
’-Wl,-Bdynamic’,
’-lifport’, ’-lifcoremt’]
4
6. Now save the file and close the gedit window. Then, go to the folder where your Fortran
Subroutine (.f file) is saved and enter the command:
7. In order to use the shared object (.so file) that you created open the lnx86_64.env again
and add to the end of the code the following line:
usub_lib_dir = ’path_to_.so_file’
Be careful, you should not point the .so file in the path above, but only the folder which is
contained. In this way, it’s not necessary to find the path for every single job. Just run the
job without any changes in the job properties regarding the user subroutine file.