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-10-24 22:27:51 +05:30
|
|
|
# Uses OpenMP to parallelise the material subroutines (set number of cores with "export DAMASK_NUM_THREADS=n" to n)
|
|
|
|
# Uses linux threads to parallelise fftw3
|
2011-01-07 18:26:45 +05:30
|
|
|
# Besides of the f90 files written at MPIE, the two library files of fftw3 "libfftw3_threads.a" "libfftw3.a" are also needed
|
2011-11-22 00:18:38 +05:30
|
|
|
# Install fftw3 (v3.3 is tested):
|
|
|
|
# -Apply the following patch to api/f77funcs.h, line 92 in the FFTW source:
|
|
|
|
#
|
|
|
|
# FFTW_VOIDFUNC F77(set_timelimit,SET_TIMELIMIT)(double *t)
|
|
|
|
# {
|
|
|
|
# X(set_timelimit)(*t);
|
|
|
|
# }
|
|
|
|
# -Do "./configure --enable-threads --enable-sse2 --enable-shared" and "make"; "make install" is not needed
|
|
|
|
# as long as the two library files "libfftw3_threads.a" "libfftw3.a" are copied to the /../lib directory.
|
|
|
|
# for single precision also use --enable-float
|
2011-10-24 22:27:51 +05:30
|
|
|
# Need the AMD Core Math Library to be installed (v 4.4 is tested)
|
|
|
|
########################################################################################
|
2011-09-13 21:24:06 +05:30
|
|
|
# OPTIONS = standard (alternative): meaning
|
2011-08-01 15:41:32 +05:30
|
|
|
#-------------------------------------------------------------
|
|
|
|
# PRECISION = double (single): floating point precision
|
|
|
|
# F90 = ifort (gfortran): compiler, choose Intel or GNU
|
2011-10-24 22:27:51 +05:30
|
|
|
# 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, 03 + further options for all files
|
2011-08-10 21:30:02 +05:30
|
|
|
# OPENMP = TRUE (FALSE): OpenMP multiprocessor support
|
2011-12-06 22:28:17 +05:30
|
|
|
# FFTWPATH =TAKE_FFTW_PATH, will be adjusted by setup_code.py
|
|
|
|
# ACMLROOT =TAKE_ACLM_ROOT, will be adjusted by setup_code.py
|
|
|
|
# ACMLPATH =$(ACMLROOT)/"compilerdir"/lib (...) Path to ACML Library, choose according to your system
|
|
|
|
# ACMLPATH =$(ACMLROOT/"compilerdir"_mp/lib (...) Path to ACML Library with multicore support, choose according to your system
|
|
|
|
# "compilerdir" is "intel64" for ifort
|
|
|
|
# FFTWOPTIONS =$(FFTWPATH)/libfftw3.a $(FFTWPATH)/libfftw3_threads.a -lpthread (...) Path to FFTW library files with Linux threads (multicore) support
|
|
|
|
# FFTWOPTIONS =$(FFTWPATH)/libfftw3.a (...) Path to FFTW library files without Linux threads (multicore) support
|
2011-10-24 22:27:51 +05:30
|
|
|
# FFTWOPTIONS is different for single and double precision. Choose the options to use OpenMP instead of pthreads support or change the directory
|
|
|
|
# PREFIX: specify an arbitrary prefix
|
|
|
|
# SUFFIX: specify an arbitrary suffix
|
2011-09-13 21:24:06 +05:30
|
|
|
# COMPILERNAME = overwrite name of Compiler, e.g. using mpich-g90 instead of ifort
|
2011-10-24 22:27:51 +05:30
|
|
|
########################################################################################
|
|
|
|
# Here are some usefull debugging switches. 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/
|
|
|
|
# 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-10-13 18:11:01 +05:30
|
|
|
#should not be done for OpenMP, but set "ulimit -s unlimited" on shell. Problably 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
|
|
|
|
2011-10-13 18:11:01 +05:30
|
|
|
#checks for standard
|
2011-12-09 20:43:27 +05:30
|
|
|
DEBUG5 =-stand std03/std95
|
2011-12-06 22:28:17 +05:30
|
|
|
|
|
|
|
#SUFFIX =$(DEBUG1) $(DEBUG2) $(DEBUG3)
|
2011-10-24 22:27:51 +05:30
|
|
|
########################################################################################
|
2011-09-13 21:24:06 +05:30
|
|
|
|
2011-12-06 22:28:17 +05:30
|
|
|
#default values below will be set by setup_code.py
|
|
|
|
#FFTWPATH =../lib
|
|
|
|
#ACMLROOT =/opt/acml4.4.0
|
|
|
|
|
|
|
|
FFTWPATH =/nethome/m.diehl/DAMASK/lib
|
|
|
|
ACMLROOT =/opt/acml4.4.0
|
|
|
|
|
2011-10-24 22:27:51 +05:30
|
|
|
ifndef F90
|
2011-08-03 13:24:32 +05:30
|
|
|
F90 =ifort
|
|
|
|
endif
|
2011-07-25 22:00:21 +05:30
|
|
|
|
2011-10-24 22:27:51 +05:30
|
|
|
ifndef OPTIMIZATION
|
2011-08-03 13:24:32 +05:30
|
|
|
OPTIMIZATION =DEFENSIVE
|
|
|
|
endif
|
|
|
|
MAXOPTI =$(OPTIMIZATION)
|
2011-08-01 15:41:32 +05:30
|
|
|
|
2011-10-13 18:11:01 +05:30
|
|
|
ifeq ($(OPTIMIZATION),AGGRESSIVE)
|
|
|
|
MAXOPTI=DEFENSIVE
|
2011-07-25 22:00:21 +05:30
|
|
|
endif
|
|
|
|
|
2011-10-24 22:27:51 +05:30
|
|
|
ifeq ($(OPTIMIZATION),ULTRA)
|
|
|
|
MAXOPTI=AGGRESSIVE
|
|
|
|
OPTIMIZATION=AGGRESSIVE
|
|
|
|
endif
|
|
|
|
|
2011-10-13 18:11:01 +05:30
|
|
|
ifeq ($(PORTABLE),FALSE)
|
|
|
|
PORTABLE_SWITCH =-msse3
|
2011-08-01 15:41:32 +05:30
|
|
|
endif
|
|
|
|
|
2011-10-24 22:27:51 +05:30
|
|
|
ifndef OPENMP
|
|
|
|
OPENMP=ON
|
|
|
|
endif
|
|
|
|
|
2011-12-06 22:28:17 +05:30
|
|
|
# setting defaults in case of multicore support
|
2011-10-24 22:27:51 +05:30
|
|
|
ifeq ($(OPENMP),ON)
|
2011-09-13 21:24:06 +05:30
|
|
|
OPENMP_FLAG_ifort =-openmp -openmp-report0 -parallel
|
2011-08-03 13:24:32 +05:30
|
|
|
OPENMP_FLAG_gfortran =-fopenmp
|
2011-10-24 22:27:51 +05:30
|
|
|
ifndef ACMLPATH
|
2011-12-06 22:28:17 +05:30
|
|
|
ACMLPATH =$(ACMLROOT)/$(F90)64_mp/lib
|
2011-10-24 22:27:51 +05:30
|
|
|
endif
|
|
|
|
ifndef FFTWOPTIONS
|
|
|
|
ifeq ($(PRECISION),single)
|
2011-12-06 22:28:17 +05:30
|
|
|
FFTWOPTIONS =$(FFTWPATH)/libfftw3f_threads.a $(FFTWPATH)/libfftw3f.a -lpthread
|
2011-10-24 22:27:51 +05:30
|
|
|
else
|
2011-12-06 22:28:17 +05:30
|
|
|
FFTWOPTIONS =$(FFTWPATH)/libfftw3_threads.a $(FFTWPATH)/libfftw3.a -lpthread
|
2011-10-24 22:27:51 +05:30
|
|
|
endif
|
|
|
|
endif
|
2011-12-09 22:04:53 +05:30
|
|
|
BLAS=$(ACMLPATH)/libacml_mp.a
|
2011-12-06 22:28:17 +05:30
|
|
|
|
|
|
|
#setting defaults in case of single core compilation
|
2011-10-24 22:27:51 +05:30
|
|
|
else
|
|
|
|
ifndef ACMLPATH
|
2011-12-06 22:28:17 +05:30
|
|
|
ACMLPATH=$(ACMLROOT)/$(F90)64/lib
|
2011-10-24 22:27:51 +05:30
|
|
|
endif
|
|
|
|
ifndef FFTWOPTIONS
|
|
|
|
ifeq ($(PRECISION),single)
|
2011-12-06 22:28:17 +05:30
|
|
|
FFTWOPTIONS =$(FFTWPATH)/libfftw3f.a
|
2011-10-24 22:27:51 +05:30
|
|
|
else
|
2011-12-06 22:28:17 +05:30
|
|
|
FFTWOPTIONS =$(FFTWPATH)/libfftw3.a
|
2011-10-24 22:27:51 +05:30
|
|
|
endif
|
|
|
|
endif
|
2011-12-09 22:04:53 +05:30
|
|
|
BLAS=$(ACMLPATH)/libacml.a
|
2011-08-03 23:27:28 +05:30
|
|
|
endif
|
|
|
|
|
2011-10-24 22:27:51 +05:30
|
|
|
|
2011-08-03 13:24:32 +05:30
|
|
|
OPTIMIZATION_OFF_ifort =-O0
|
|
|
|
OPTIMIZATION_OFF_gfortran =-O0
|
|
|
|
OPTIMIZATION_DEFENSIVE_ifort =-O2
|
|
|
|
OPTIMIZATION_DEFENSIVE_gfortran =-O2
|
2011-10-13 18:11:01 +05:30
|
|
|
OPTIMIZATION_AGGRESSIVE_ifort =-O3 $(PORTABLE_SWITCH) -ip -static -fp-model fast=2 -no-prec-div
|
2011-12-06 22:28:17 +05:30
|
|
|
OPTIMIZATION_AGGRESSIVE_gfortran =-O3 $(PORTABLE_SWITCH) -march=opteron -ffast-math -funroll-loops -ftree-vectorize -ftree-loop-linear
|
2011-08-03 13:24:32 +05:30
|
|
|
|
2011-10-13 18:11:01 +05:30
|
|
|
COMPILE_OPTIONS_ifort =-fpp -diag-disable 8291,8290
|
2011-12-06 22:28:17 +05:30
|
|
|
COMPILE_OPTIONS_gfortran =-xf95-cpp-input -fno-range-check
|
2011-08-01 15:41:32 +05:30
|
|
|
|
2011-08-03 13:24:32 +05:30
|
|
|
COMPILE =${OPENMP_FLAG_${F90}} ${COMPILE_OPTIONS_${F90}} ${OPTIMIZATION_${OPTIMIZATION}_${F90}} -c
|
2011-09-13 21:24:06 +05:30
|
|
|
COMPILE_MAXOPTI =${OPENMP_FLAG_${F90}} ${COMPILE_OPTIONS_${F90}} ${OPTIMIZATION_${MAXOPTI}_${F90}} -c
|
|
|
|
|
|
|
|
ifndef COMPILERNAME
|
|
|
|
COMPILERNAME=$(F90)
|
|
|
|
endif
|
2011-03-29 13:25:38 +05:30
|
|
|
|
2011-07-25 22:00:21 +05:30
|
|
|
ifeq ($(PRECISION),single)
|
2011-05-11 22:08:45 +05:30
|
|
|
DAMASK_spectral_single.exe: DAMASK_spectral_single.o CPFEM.a
|
2011-12-06 22:28:17 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) $(OPENMP_FLAG_$(F90)) -o DAMASK_spectral_single.exe DAMASK_spectral_single.o CPFEM.a $(FFTWOPTIONS)\
|
|
|
|
constitutive.a advanced.a basics.a $(BLAS)
|
2011-05-11 22:08:45 +05:30
|
|
|
DAMASK_spectral_single.o: DAMASK_spectral_single.f90 CPFEM.o
|
2011-09-13 21:24:06 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) $(COMPILE_MAXOPTI) DAMASK_spectral_single.f90 $(SUFFIX)
|
2011-02-25 14:55:53 +05:30
|
|
|
else
|
2011-05-11 22:08:45 +05:30
|
|
|
DAMASK_spectral.exe: DAMASK_spectral.o CPFEM.a
|
2011-10-24 22:27:51 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) ${OPENMP_FLAG_${F90}} -o DAMASK_spectral.exe DAMASK_spectral.o CPFEM.a $(FFTWOPTIONS)\
|
2011-12-06 22:28:17 +05:30
|
|
|
constitutive.a advanced.a basics.a $(BLAS)
|
2011-05-11 22:08:45 +05:30
|
|
|
DAMASK_spectral.o: DAMASK_spectral.f90 CPFEM.o
|
2011-09-13 21:24:06 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) $(COMPILE_MAXOPTI) DAMASK_spectral.f90 $(SUFFIX)
|
2011-02-25 14:55:53 +05:30
|
|
|
endif
|
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
|
|
|
|
ar rc CPFEM.a homogenization.o homogenization_RGC.o homogenization_isostrain.o crystallite.o CPFEM.o constitutive.o
|
|
|
|
|
|
|
|
CPFEM.o: CPFEM.f90 homogenization.o
|
2011-09-13 21:24:06 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) $(COMPILE) CPFEM.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
|
|
|
homogenization.o: homogenization.f90 homogenization_isostrain.o homogenization_RGC.o crystallite.o
|
2011-09-13 21:24:06 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) $(COMPILE) homogenization.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
|
|
|
homogenization_RGC.o: homogenization_RGC.f90 constitutive.a
|
2011-09-13 21:24:06 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) $(COMPILE) homogenization_RGC.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
|
|
|
homogenization_isostrain.o: homogenization_isostrain.f90 basics.a advanced.a
|
2011-09-13 21:24:06 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) $(COMPILE) homogenization_isostrain.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
|
|
|
crystallite.o: crystallite.f90 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
|
|
|
|
ar rc constitutive.a constitutive.o constitutive_titanmod.o constitutive_nonlocal.o constitutive_dislotwin.o constitutive_j2.o constitutive_phenopowerlaw.o basics.a advanced.a
|
|
|
|
|
|
|
|
constitutive.o: constitutive.f90 constitutive_titanmod.o constitutive_nonlocal.o constitutive_dislotwin.o constitutive_j2.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.f90 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.f90 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.f90 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_j2.f90 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.f90 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
|
|
|
|
ar 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.f90 material.o
|
2011-09-13 21:24:06 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) $(COMPILE) lattice.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
|
|
|
material.o: material.f90 mesh.o
|
2011-09-13 21:24:06 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) $(COMPILE) material.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
|
|
|
mesh.o: mesh.f90 FEsolving.o
|
2011-09-13 21:24:06 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) $(COMPILE) mesh.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
|
|
|
FEsolving.o: FEsolving.f90 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-07-25 22:00:21 +05:30
|
|
|
ifeq ($(PRECISION),single)
|
2011-02-25 14:55:53 +05:30
|
|
|
basics.a: debug.o math.o
|
2011-05-11 22:08:45 +05:30
|
|
|
ar rc basics.a debug.o math.o numerics.o IO.o DAMASK_spectral_interface.o prec_single.o
|
2011-02-25 14:55:53 +05:30
|
|
|
else
|
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
|
|
|
basics.a: debug.o math.o
|
2011-05-11 22:08:45 +05:30
|
|
|
ar rc basics.a debug.o math.o numerics.o IO.o DAMASK_spectral_interface.o prec.o
|
2011-02-25 14:55:53 +05:30
|
|
|
endif
|
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
|
|
|
|
|
|
|
debug.o: debug.f90 numerics.o
|
2011-09-13 21:24:06 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) $(COMPILE) debug.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
|
|
|
math.o: math.f90 numerics.o
|
2011-09-13 21:24:06 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) $(COMPILE) math.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
|
|
|
numerics.o: numerics.f90 IO.o
|
2011-09-13 21:24:06 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) $(COMPILE) numerics.f90 $(SUFFIX)
|
2011-05-11 22:08:45 +05:30
|
|
|
IO.o: IO.f90 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-07-25 22:00:21 +05:30
|
|
|
ifeq ($(PRECISION),single)
|
2011-05-11 22:08:45 +05:30
|
|
|
DAMASK_spectral_interface.o: DAMASK_spectral_interface.f90 prec_single.o
|
2011-09-13 21:24:06 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) $(COMPILE) DAMASK_spectral_interface.f90 $(SUFFIX)
|
2011-02-25 14:55:53 +05:30
|
|
|
prec_single.o: prec_single.f90
|
2011-09-13 21:24:06 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) $(COMPILE) prec_single.f90 $(SUFFIX)
|
2011-02-25 14:55:53 +05:30
|
|
|
else
|
2011-05-11 22:08:45 +05:30
|
|
|
DAMASK_spectral_interface.o: DAMASK_spectral_interface.f90 prec.o
|
2011-09-13 21:24:06 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) $(COMPILE) DAMASK_spectral_interface.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
|
|
|
prec.o: prec.f90
|
2011-09-13 21:24:06 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) $(COMPILE) prec.f90 $(SUFFIX)
|
2011-02-25 14:55:53 +05:30
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
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-11-21 23:42:40 +05:30
|
|
|
rm -rf *.exe
|