From f24da6dffe36db9d6f29e028bf969949e05cf98a Mon Sep 17 00:00:00 2001 From: Franz Roters Date: Thu, 26 May 2011 09:38:48 +0000 Subject: [PATCH] added comment on precompiling the subroutine into a library --- installation/Abaqus_mods/abaqus_v6.env | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/installation/Abaqus_mods/abaqus_v6.env b/installation/Abaqus_mods/abaqus_v6.env index db3405fda..968850747 100644 --- a/installation/Abaqus_mods/abaqus_v6.env +++ b/installation/Abaqus_mods/abaqus_v6.env @@ -31,8 +31,21 @@ else: compile_fortran = (fortCmd + " -c -fPIC -auto -extend_source -w90 -w95 " + "-WB -I%I -free -heap-arrays 500000000 -O3 -fpp -openmp") +# Do not use parts in input file cae_no_parts_input_file=ON +# You can compile DAMASK into a library to be used with abaqus +# it saves you from compiling the subroutine for each job +# in this case you do not have to specify a usersubroutine file +# however if you still do, the compiled version will override that in the library +# Procedure: +# 1. create a library directory, e.g. abqlib, in your prefered location +# 2. build the library replacing your_prefered_location/abqlib with the correct path to the directory created in 1.: +# abaqus make -l DAMASK_abaqus_std.f -dir your_prefered_location/abqlib +# abaqus make -l DAMASK_abaqus_exp.f -dir your_prefered_location/abqlib +# 3. uncomment the next line after replacing your_prefered_location/abqlib with the correct path to the directory created in 1. +# usub_lib_dir='your_prefered_location/abqlib' + # Remove the temporary names from the namespace del fortCmd del fortDefPath