diff --git a/installation/mods_Abaqus/abaqus_v6.env b/installation/mods_Abaqus/abaqus_v6.env index ccf447c19..b48a5ea05 100644 --- a/installation/mods_Abaqus/abaqus_v6.env +++ b/installation/mods_Abaqus/abaqus_v6.env @@ -12,6 +12,7 @@ # Compile_cpp and link_exe for Abaqus make utility. # import os, re, glob, driverUtils +from damask import version as DAMASKVERSION # Use the version in $PATH fortCmd = "ifort" @@ -34,7 +35,8 @@ compile_fortran = (fortCmd + " -c -fPIC -auto -shared-intel " + "-I%I -I../lib -free -O1 -fpp -openmp " + "-ftz -diag-disable 5268 " + "-implicitnone -assume byterecl -stand f08 -standard-semantics " + - "-real-size 64 -integer-size 32 -DFLOAT=8 -DINT=4") + "-real-size 64 -integer-size 32 -DFLOAT=8 -DINT=4 " + + '-DDAMASKVERSION="%s"'%DAMASKVERSION) # Abaqus/CAE will generate an input file without parts and assemblies. cae_no_parts_input_file=ON diff --git a/installation/mods_Abaqus/abaqus_v6_serial.env b/installation/mods_Abaqus/abaqus_v6_serial.env index 880a3c055..a5384cc26 100644 --- a/installation/mods_Abaqus/abaqus_v6_serial.env +++ b/installation/mods_Abaqus/abaqus_v6_serial.env @@ -12,6 +12,7 @@ # Compile_cpp and link_exe for Abaqus make utility. # import os, re, glob, driverUtils +from damask import version as DAMASKVERSION # Use the version in $PATH fortCmd = "ifort" @@ -29,15 +30,13 @@ fortCmd = "ifort" # -assume byterecl count record length in bytes # -real-size 64 -DFLOAT=8 assume size of real to be 8 bytes, matches our definition of pReal # -integer-size 32 -DINT=4 assume size of integer to be 4 bytes, matches our definition of pInt -# -L/usr/lib64 -L/usr/lib search path for lapack libraries -# -Wl,-rpath=/usr/lib64,-rpath=/usr/lib run path for lapack libraries -# -llapack link against lapack compile_fortran = (fortCmd + " -c -fPIC -auto -shared-intel " + "-I%I -I../lib -free -O1 -fpp " + "-ftz -diag-disable 5268 " + "-implicitnone -assume byterecl -stand f08 -standard-semantics " + - "-real-size 64 -integer-size 32 -DFLOAT=8 -DINT=4") + "-real-size 64 -integer-size 32 -DFLOAT=8 -DINT=4 " + + '-DDAMASKVERSION="%s"'%DAMASKVERSION) # Abaqus/CAE will generate an input file without parts and assemblies. cae_no_parts_input_file=ON