2011-10-24 22:27:51 +05:30
########################################################################################
2011-02-25 14:55:53 +05:30
# Makefile to compile the Material subroutine for BVP solution using spectral method
2011-10-24 22:27:51 +05:30
########################################################################################
# Be sure to remove all files compiled with different options by using "make clean"
2011-02-25 14:55:53 +05:30
#
2011-12-16 14:41:03 +05:30
# Uses OpenMP to parallelize the material subroutines (set number of threads with "export DAMASK_NUM_THREADS=n" to n)
2011-11-22 00:18:38 +05:30
#
2011-12-16 14:41:03 +05:30
# Install fftw3 (v3.3 is tested):
# + run
# ./configure --enable-threads --enable-sse2 --enable-shared [-enable-float]
# make
# make install
# + specify in the "pathinfo:FFTW" where FFTW was installed.
2012-01-13 21:48:16 +05:30
# We essentially look for two library files "lib/libfftw3_threads" and "lib/libfftw3", so you can copy those, for instance,
2011-12-16 14:41:03 +05:30
# into DAMASK_ROOT/lib/fftw/lib/ and specify "./fftw/" as pathinfo:FFTW
# Use --enable-float in above configure for single precision...
# Uses linux threads to parallelize fftw3
#
2012-01-13 21:48:16 +05:30
# Instead of the AMD Core Math Library a standard "liblapack.a/dylib/etc." can be used by leaving pathinfo:ACML and pathinfo:IKML blank
2011-10-24 22:27:51 +05:30
########################################################################################
2011-09-13 21:24:06 +05:30
# OPTIONS = standard (alternative): meaning
2011-08-01 15:41:32 +05:30
#-------------------------------------------------------------
2012-02-01 00:48:55 +05:30
# F90 = ifort (gfortran): compiler, choose Intel or GNU
# COMPILERNAME = overwrite name of Compiler, e.g. using mpich-g90 instead of ifort
# PORTABLE = TRUE (FALSE): decision, if executable is optimized for the machine on which it was built.
# OPTIMIZATION = DEFENSIVE (OFF,AGGRESSIVE,ULTRA): Optimization mode: O2, O0, O3 + further options for most files, O3 + further options for all files
# OPENMP = TRUE (FALSE): OpenMP multiprocessor support
# FFTWROOT = pathinfo:FFTW (will be adjusted by setup_code.py - required in pathinfo)
# IKMLROOT = pathinfo:IKML (will be adjusted by setup_code.py if present in pathinfo)
# ACMLROOT = pathinfo:ACML (will be adjusted by setup_code.py if present in pathinfo)
# LAPACKROOT = pathinfo:LAPACK (will be adjusted by setup_code.py if present in pathinfo)
# PREFIX = arbitrary prefix
# SUFFIX = arbitrary suffix
# STANDARD_CHECK = checking for Fortran 2008, compiler dependend
2011-10-24 22:27:51 +05:30
########################################################################################
2012-02-10 17:29:59 +05:30
# Here are some useful debugging switches for ifort. Switch on by uncommenting the #SUFFIX line at the end of this section:
2011-09-13 21:24:06 +05:30
# information on http://software.intel.com/en-us/articles/determining-root-cause-of-sigsegv-or-sigbus-errors/
2012-02-10 17:29:59 +05:30
2011-09-13 21:24:06 +05:30
# check if an array index is too small (<1) or too large!
DEBUG1 = -check bounds -g
2011-12-06 22:28:17 +05:30
2011-09-13 21:24:06 +05:30
#will cause a lot of warnings because we create a bunch of temporary arrays
DEBUG2 = -check arg_temp_created
2011-12-06 22:28:17 +05:30
2011-09-13 21:24:06 +05:30
#check from time to time
DEBUG3 = -fp-stack-check -g -traceback -gen-interfaces -warn interfaces
2011-12-06 22:28:17 +05:30
2011-12-22 18:49:27 +05:30
#should not be done for OpenMP, but set "ulimit -s unlimited" on shell. Probably it helps also to unlimit other limits
2011-09-13 21:24:06 +05:30
DEBUG4 = -heap-arrays
2011-12-06 22:28:17 +05:30
2012-02-02 01:58:58 +05:30
#additional warnings
DEBUG5 = -warn all
# or one or more of those: alignments, declarations,general, ignore_loc, uncalled, unuses, usage
#set precision (check for missing _pInt and _pReal)
DEBUG6 = -real-size 32 -integer-size 16
#or one of those 16/32/64/128 (= 2,4,8,16 bytes)
2012-02-10 17:29:59 +05:30
#SUFFIX =$(DEBUG1) $(DEBUG2) $(DEBUG3) $(DEBUG4) $(DEBUG5) $(DEBUG6)
# Here are some useful debugging switches for gfortran
# fcheck-bounds: eqv to DEBUG1 of ifort
2012-02-02 01:58:58 +05:30
2011-10-24 22:27:51 +05:30
########################################################################################
2011-09-13 21:24:06 +05:30
2011-12-16 14:41:03 +05:30
#auto values will be set by setup_code.py
2012-01-13 21:48:16 +05:30
FFTWROOT := $( DAMASK_ROOT) /lib/fftw
IKMLROOT :=
2012-01-04 23:13:26 +05:30
ACMLROOT := /opt/acml4.4.0
2012-01-13 21:48:16 +05:30
LAPACKROOT :=
2011-12-06 22:28:17 +05:30
2011-12-16 14:41:03 +05:30
F90 ?= ifort
COMPILERNAME ?= $( F90)
OPENMP ?= ON
OPTIMIZATION ?= DEFENSIVE
2011-07-25 22:00:21 +05:30
2012-02-10 17:29:59 +05:30
i f e q "$(F90)" "ifort"
ARCHIVE_COMMAND := xiar
e l s e
ARCHIVE_COMMAND := ar
e n d i f
2011-12-16 14:41:03 +05:30
i f e q "$(OPTIMIZATION)" "OFF"
OPTI := OFF
MAXOPTI := OFF
2011-10-24 22:27:51 +05:30
e n d i f
2011-12-16 14:41:03 +05:30
i f e q "$(OPTIMIZATION)" "DEFENSIVE"
OPTI := DEFENSIVE
MAXOPTI := DEFENSIVE
e n d i f
i f e q "$(OPTIMIZATION)" "AGGRESSIVE"
OPTI := AGGRESSIVE
MAXOPTI := DEFENSIVE
e n d i f
i f e q "$(OPTIMIZATION)" "ULTRA"
OPTI := AGGRESSIVE
MAXOPTI := AGGRESSIVE
2011-08-01 15:41:32 +05:30
e n d i f
2011-12-16 14:41:03 +05:30
i f n d e f O P T I
OPTI := DEFENSIVE
MAXOPTI := DEFENSIVE
2011-10-24 22:27:51 +05:30
e n d i f
2011-12-16 14:41:03 +05:30
i f e q "$(PORTABLE)" "FALSE"
2012-02-10 17:29:59 +05:30
PORTABLE_SWITCH = -msse3
2011-10-24 22:27:51 +05:30
e n d i f
2011-12-16 14:41:03 +05:30
# settings for multicore support
i f e q "$(OPENMP)" "ON"
2012-02-10 17:29:59 +05:30
OPENMP_FLAG_ifort = -openmp -openmp-report0 -parallel
OPENMP_FLAG_gfortran = -fopenmp
2011-12-16 14:41:03 +05:30
ACML_ARCH = _mp
2012-02-10 17:29:59 +05:30
LIBRARIES += -lfftw3_threads -lpthread
2011-10-24 22:27:51 +05:30
e n d i f
2011-12-16 14:41:03 +05:30
2012-02-10 17:29:59 +05:30
LIBRARIES += -lfftw3
LIB_DIRS += -L$( FFTWROOT) /lib
2011-12-16 14:41:03 +05:30
2011-12-20 16:28:51 +05:30
i f d e f I K M L R O O T
2012-02-10 17:29:59 +05:30
LIBRARIES += -mkl
2011-12-20 16:28:51 +05:30
e l s e
2011-12-16 14:41:03 +05:30
i f d e f A C M L R O O T
2012-02-10 17:29:59 +05:30
LIB_DIRS += -L$( ACMLROOT) /$( F90) 64$( ACML_ARCH) /lib
LIBRARIES += -lacml$( ACML_ARCH)
2011-10-24 22:27:51 +05:30
e l s e
2011-12-20 16:28:51 +05:30
i f d e f L A P A C K R O O T
2012-02-10 17:29:59 +05:30
LIB_DIRS += -L$( LAPACKROOT) /lib64 -L$( LAPACKROOT) /lib
LIBRARIES += -llapack
2011-08-03 23:27:28 +05:30
e n d i f
2011-12-20 16:28:51 +05:30
e n d i f
e n d i f
2011-08-03 23:27:28 +05:30
2012-02-01 00:48:55 +05:30
i f d e f S T A N D A R D _ C H E C K
2012-02-10 17:29:59 +05:30
STANDARD_CHECK_ifort = $( STANDARD_CHECK)
STANDARD_CHECK_gfortran = $( STANDARD_CHECK)
2012-02-01 00:48:55 +05:30
e n d i f
2012-02-10 17:29:59 +05:30
STANDARD_CHECK_ifort ?= -stand f08 -standard-semantics
2012-02-01 00:48:55 +05:30
STANDARD_CHECK_gfortran ?= -std= f2008
2011-10-24 22:27:51 +05:30
2011-12-16 14:41:03 +05:30
OPTIMIZATION_OFF_ifort := -O0
OPTIMIZATION_OFF_gfortran := -O0
OPTIMIZATION_DEFENSIVE_ifort := -O2
OPTIMIZATION_DEFENSIVE_gfortran := -O2
2012-02-02 01:58:58 +05:30
OPTIMIZATION_AGGRESSIVE_ifort := -O3 $( PORTABLE_SWITCH) -ip -static -fp-model fast = 2 -no-prec-div
2011-12-16 14:41:03 +05:30
OPTIMIZATION_AGGRESSIVE_gfortran := -O3 $( PORTABLE_SWITCH) -ffast-math -funroll-loops -ftree-vectorize
2011-08-03 13:24:32 +05:30
2011-08-01 15:41:32 +05:30
2012-02-10 17:29:59 +05:30
COMPILE_OPTIONS_ifort := -fpp\
-diag-enable sc3\
-diag-disable 8291,8290,5268\
-warn declarations\
-warn general\
-warn usage
#alignments: Determines whether warnings occur for data that is not naturally aligned.
#declarations: Determines whether warnings occur for any undeclared names.
#errors: Determines whether warnings are changed to errors.
#general: Determines whether warning messages and informational messages are issued by the compiler.
#ignore_loc: Determines whether warnings occur when %LOC is stripped from an actual argument.
#interfaces: Determines whether the compiler checks the interfaces of all SUBROUTINEs called and FUNCTIONs invoked in your compilation against an external set of interface blocks.
#stderrors: Determines whether warnings about Fortran standard violations are changed to errors.
#truncated_source: Determines whether warnings occur when source exceeds the maximum column width in fixed-format files.
#uncalled: Determines whether warnings occur when a statement function is never called
#unused: Determines whether warnings occur for declared variables that are never used.
#usage: Determines whether warnings occur for questionable programming practices.
#-fpp: preprocessor
#-diag-disable: disables warnings, where
# warning ID 9291:
# warning ID 8290:
# warning ID 5268: The text exceeds right hand column allowed on the line (we have only comments there)
COMPILE_OPTIONS_gfortran := -xf95-cpp-input\
-ffree-line-length-132\
-fno-range-check\
-fimplicit-none\
-pedantic\
-Warray-bounds\
-Wunused-parameter\
-Wampersand\
-Wno-tabs\
-Wcharacter-truncation\
-Wintrinsic-shadow\
-Waliasing\
-Wconversion\
-Wsurprising\
-Wunused-value\
-Wunderflow
#-xf95-cpp-input: preprocessor
#-ffree-line-length-132: restrict line length to the standard 132 characters
#-fno-range-check: disables checking if result can be represented by variable. Needs to be set to enable DAMASK_NaN
#-fimplicit-none: assume "implicit-none" even if not present in source
#-pedantic: more strict on standard, enables some of the warnings below
#-Warray-bounds: checks if array reference is out of bounds at compile time. use -fcheck-bounds to also check during runtime
#-Wunused-parameter: find usused variables with "parameter" attribute
#-Wampersand: checks if a character expression is continued proberly by an ampersand at the end of the line and at the beginning of the new line
#-Wno-tabs: do not allow tabs in source
#-Wcharacter-truncation: warn if character expressions (strings) are truncated
#-Wintrinsic-shadow: warn if a user-defined procedure or module procedure has the same name as an intrinsic
#-Waliasing: warn about possible aliasing of dummy arguments. Specifically, it warns if the same actual argument is associated with a dummy argument with "INTENT(IN)" and a dummy argument with "INTENT(OUT)" in a call with an explicit interface.
#-Wconversion: warn about implicit conversions between different type
#-Wsurprising: warn when "suspicious" code constructs are encountered. While technically legal these usually indicate that an error has been made.
#-Wunused-value:
#-Wunderflow: produce a warning when numerical constant expressions are encountered, which yield an UNDERFLOW during compilation
#MORE OPTIONS
# only for gfortran 4.6:
#-Wsuggest-attribute=const
#-Wsuggest-attribute=noreturn
#-Wsuggest-attribute=pure
# too many warnings because we have comments beyond character 132:
#-Wline-truncation
# warnings because of "flush" is not longer in the standard, but still an intrinsic fuction of the compilers:
#-Wintrinsic-std
# warnings because we have many temporary arrays (performance issue?):
#-Warray-temporaries
# -Wimplicit-interface
# -pedantic-errors
# -fmodule-private
2011-09-13 21:24:06 +05:30
2012-02-01 00:48:55 +05:30
COMPILE = $( OPENMP_FLAG_$( F90) ) $( COMPILE_OPTIONS_$( F90) ) $( STANDARD_CHECK_$( F90) ) $( OPTIMIZATION_$( OPTI) _$( F90) ) -c
COMPILE_MAXOPTI = $( OPENMP_FLAG_$( F90) ) $( COMPILE_OPTIONS_$( F90) ) $( STANDARD_CHECK_$( F90) ) $( OPTIMIZATION_$( MAXOPTI) _$( F90) ) -c
2011-03-29 13:25:38 +05:30
2011-12-16 14:41:03 +05:30
2011-05-11 22:08:45 +05:30
DAMASK_spectral.exe : DAMASK_spectral .o CPFEM .a
2011-12-16 14:41:03 +05:30
$( PREFIX) $( COMPILERNAME) ${ OPENMP_FLAG_ ${ F90 } } -o DAMASK_spectral.exe DAMASK_spectral.o CPFEM.a \
constitutive.a advanced.a basics.a $( LIB_DIRS) $( LIBRARIES)
2011-12-22 18:49:27 +05:30
2011-05-11 22:08:45 +05:30
DAMASK_spectral.o : DAMASK_spectral .f 90 CPFEM .o
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE_MAXOPTI) DAMASK_spectral.f90 $( SUFFIX)
2011-12-22 18:49:27 +05:30
2011-02-21 20:07:38 +05:30
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
CPFEM.a : CPFEM .o
2012-02-10 17:29:59 +05:30
$( ARCHIVE_COMMAND) rc CPFEM.a homogenization.o homogenization_RGC.o homogenization_isostrain.o crystallite.o CPFEM.o constitutive.o
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
CPFEM.o : CPFEM .f 90 homogenization .o
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) CPFEM.f90 $( SUFFIX)
2011-12-22 18:49:27 +05:30
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
homogenization.o : homogenization .f 90 homogenization_isostrain .o homogenization_RGC .o crystallite .o
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) homogenization.f90 $( SUFFIX)
2011-12-22 18:49:27 +05:30
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
homogenization_RGC.o : homogenization_RGC .f 90 constitutive .a
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) homogenization_RGC.f90 $( SUFFIX)
2011-12-22 18:49:27 +05:30
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
homogenization_isostrain.o : homogenization_isostrain .f 90 basics .a advanced .a
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) homogenization_isostrain.f90 $( SUFFIX)
2011-12-22 18:49:27 +05:30
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
crystallite.o : crystallite .f 90 constitutive .a
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) crystallite.f90 $( SUFFIX)
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
constitutive.a : constitutive .o
2012-02-10 17:29:59 +05:30
$( ARCHIVE_COMMAND) rc constitutive.a constitutive.o constitutive_titanmod.o constitutive_nonlocal.o constitutive_dislotwin.o constitutive_j2.o constitutive_phenopowerlaw.o basics.a advanced.a
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
constitutive.o : constitutive .f 90 constitutive_titanmod .o constitutive_nonlocal .o constitutive_dislotwin .o constitutive_j 2.o constitutive_phenopowerlaw .o
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) constitutive.f90 $( SUFFIX)
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
constitutive_titanmod.o : constitutive_titanmod .f 90 basics .a advanced .a
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) constitutive_titanmod.f90 $( SUFFIX)
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
constitutive_nonlocal.o : constitutive_nonlocal .f 90 basics .a advanced .a
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) constitutive_nonlocal.f90 $( SUFFIX)
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
constitutive_dislotwin.o : constitutive_dislotwin .f 90 basics .a advanced .a
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) constitutive_dislotwin.f90 $( SUFFIX)
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
constitutive_j2.o : constitutive_j 2.f 90 basics .a advanced .a
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) constitutive_j2.f90 $( SUFFIX)
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
constitutive_phenopowerlaw.o : constitutive_phenopowerlaw .f 90 basics .a advanced .a
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) constitutive_phenopowerlaw.f90 $( SUFFIX)
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
2011-02-25 18:11:46 +05:30
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
advanced.a : lattice .o
2012-02-10 17:29:59 +05:30
$( ARCHIVE_COMMAND) rc advanced.a FEsolving.o mesh.o material.o lattice.o
2011-02-25 18:11:46 +05:30
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
lattice.o : lattice .f 90 material .o
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) lattice.f90 $( SUFFIX)
2011-12-22 18:49:27 +05:30
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
material.o : material .f 90 mesh .o
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) material.f90 $( SUFFIX)
2011-12-22 18:49:27 +05:30
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
mesh.o : mesh .f 90 FEsolving .o
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) mesh.f90 $( SUFFIX)
2011-12-22 18:49:27 +05:30
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
FEsolving.o : FEsolving .f 90 basics .a
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) FEsolving.f90 $( SUFFIX)
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
2011-12-22 18:49:27 +05:30
2012-01-13 21:48:16 +05:30
basics.a : math .o
2012-02-10 17:29:59 +05:30
$( ARCHIVE_COMMAND) rc basics.a math.o debug.o numerics.o IO.o DAMASK_spectral_interface.o prec.o
2011-12-22 18:49:27 +05:30
2012-01-04 23:13:26 +05:30
math.o : math .f 90 debug .o
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) math.f90 $( SUFFIX)
2012-01-04 23:13:26 +05:30
debug.o : debug .f 90 numerics .o
$( PREFIX) $( COMPILERNAME) $( COMPILE) debug.f90 $( SUFFIX)
2011-12-22 18:49:27 +05:30
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
numerics.o : numerics .f 90 IO .o
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) numerics.f90 $( SUFFIX)
2011-12-22 18:49:27 +05:30
2011-05-11 22:08:45 +05:30
IO.o : IO .f 90 DAMASK_spectral_interface .o
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) IO.f90 $( SUFFIX)
2011-10-24 22:27:51 +05:30
2011-05-11 22:08:45 +05:30
DAMASK_spectral_interface.o : DAMASK_spectral_interface .f 90 prec .o
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) DAMASK_spectral_interface.f90 $( SUFFIX)
2011-12-22 18:49:27 +05:30
added fftw3 as fft(library will not versioned, should be in a linkable folder) , did some corrections on the code, splitted main file up (allows use of makefile), added makefile
changes on mpie_spectral.f90:
new structure, changed variable names, now using defgrad instead of disgrad, cleaned up, removed augmented Lagrange.
ToDo: Implement Augmented Lagrange again (but then a working version), implement Large strain, think about complex-to real-transform backwards, try to implement MP-support
2010-08-27 22:09:38 +05:30
prec.o : prec .f 90
2011-09-13 21:24:06 +05:30
$( PREFIX) $( COMPILERNAME) $( COMPILE) prec.f90 $( SUFFIX)
2011-02-25 14:55:53 +05:30
2011-12-22 16:06:59 +05:30
tidy :
rm -rf *.o
rm -rf *.mod
rm -rf *.a
2011-02-25 14:55:53 +05:30
clean :
2011-07-13 22:03:12 +05:30
rm -rf *.o
2011-02-25 18:11:46 +05:30
rm -rf *.mod
2011-07-13 22:03:12 +05:30
rm -rf *.a
2011-12-16 14:41:03 +05:30
rm -rf *.exe