The -ffree-form flag as used the second point is crucial to make it work.Ībq6145 job=YourJOB user=YourUmat interactive Since Abaqus only accepts file extensions which do NOT imply a version of F90 or above, gfortran will automatically compile it as a nonfree F77 program, leeding to severe errors. ‘-c’, ‘-fPIC’, ‘-auto’, ‘-mP2OPT_hpo_vec_divbyzero=F’, ‘-extend_source’,Ĭompile_fortran = (fortCmd + ” -ffree-form -c -fPIC -I%I -extend_source -free”) You can either use a default file in the directory where you installed Abaqus in, or a copy of a complete abaqus_v6.env (for both cases) in the directory in which you are executing Abaqus. Locate your abaqus_v6.env file or for Abaqus2016 the lnx86_64.env. For testing on Abaqus 2016 on Debian Buster see the last section. This method was completely successfully tested on Debian Buster with Abaqus 6.14-5 and on Linux Mint 18 (based on Ubuntu 16.04) with Abaqus 2018. This is how you can get Abaqus 6.14- to use the GFortran Compiler and to have GFortran interpret the code in the F90 Free form format. Abaqus is usually configured to compile subroutines with the proprietary Intel Fortran Compiler, which will either cost you a lot of money or access to a university license.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |