MousumiG
MousumiG

Reputation: 41

how to link Fortran with Abaqus CAE 6.14 in Redhat linux terminal?

Does anyone know how to link Fortran with Abaqus CAE 6.14 in Redhat linux terminal?

If you could please tell me the steps elaborately, that would be great. I understand I need the Fortran compiler (ifort or gcc; I believe I have access to both!). I also already have Abaqus cae 6.14. I think there is an environment variable file involved in the process, but I don't know anything about this file or where to even locate it or what to do with it!

Please, if someone can tell me this step-by-step what to type in the terminal, that would be great! I really am an amateur in this!

Thank you!

Upvotes: 0

Views: 2914

Answers (1)

David
David

Reputation: 523

Abaqus CAE seems to have problems finding the alias ifort (which should be automatically set up) when you install the intel fortran compiler. In order to check your installation of the fortran compiler, type in a terminal

$ ifort -v

The output should look like:

ifort version 16.0.2

If you have the fortran compiler, then you can just find its path by typing

whereis ifort

And you get something like (depending on your installation)

ifort: /opt/intel/bin/ifort /opt/intel/cpp-composer/compilers_and_libraries_2016/linux/bin/intel64/ifort

Knwoing that, you can go in the install directory of Abaqus (e.g. /opt/abaqus) and edit the abaqus_v6.env file which is located under

$(ABQ_INSTALL_DIR)/6.14-1/SMA/site

There you have to change

fortCmd = "ifort"

to what you got from the whereis command. In my case to

fortCmd = "/opt/intel/bin/ifort"

You should now be able to compile user subroutines from Abaqus CAE

Upvotes: 2

Related Questions