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):
|
|
|
|
# + patch api/f77funcs.h, line 92 in the FFTW source with:
|
2011-11-22 00:18:38 +05:30
|
|
|
# FFTW_VOIDFUNC F77(set_timelimit,SET_TIMELIMIT)(double *t)
|
|
|
|
# {
|
|
|
|
# X(set_timelimit)(*t);
|
|
|
|
# }
|
2011-12-16 14:41:03 +05:30
|
|
|
# + run
|
|
|
|
# ./configure --enable-threads --enable-sse2 --enable-shared [-enable-float]
|
|
|
|
# make
|
|
|
|
# make install
|
|
|
|
# + specify in the "pathinfo:FFTW" where FFTW was installed.
|
|
|
|
# We essentially look for two library files "lib/libfftw3_threads.a" and "lib/libfftw3.a", so you can copy those, for instance,
|
|
|
|
# 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
|
|
|
|
#
|
|
|
|
# Instead of the AMD Core Math Library a standard "liblapack.a/dylib/etc." can be used by leaving pathinfo:ACML 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
|
|
|
#-------------------------------------------------------------
|
|
|
|
# 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-16 14:41:03 +05:30
|
|
|
# FFTWROOT = pathinfo:FFTW (will be adjusted by setup_code.py)
|
|
|
|
# ACMLROOT = pathinfo:ACML (will be adjusted by setup_code.py)
|
|
|
|
# ACMLPATH =$(ACMLROOT)/"compilerdir"/lib (...) Path to ACML, choose according to your system
|
|
|
|
# ACMLPATH =$(ACMLROOT/"compilerdir"_mp/lib (...) Path to ACML with multicore support, choose according to your system
|
2011-12-06 22:28:17 +05:30
|
|
|
# "compilerdir" is "intel64" for ifort
|
2011-10-24 22:27:51 +05:30
|
|
|
# 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
|
|
|
########################################################################################
|
2011-12-16 14:41:03 +05:30
|
|
|
# Here are some useful 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-16 14:41:03 +05:30
|
|
|
#auto values will be set by setup_code.py
|
2011-12-20 16:28:51 +05:30
|
|
|
FFTWROOT :=
|
|
|
|
IKMLROOT :=
|
|
|
|
ACMLROOT :=
|
|
|
|
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
|
|
|
|
2011-12-16 14:41:03 +05:30
|
|
|
ifeq "$(OPTIMIZATION)" "OFF"
|
|
|
|
OPTI := OFF
|
|
|
|
MAXOPTI := OFF
|
2011-10-24 22:27:51 +05:30
|
|
|
endif
|
2011-12-16 14:41:03 +05:30
|
|
|
ifeq "$(OPTIMIZATION)" "DEFENSIVE"
|
|
|
|
OPTI := DEFENSIVE
|
|
|
|
MAXOPTI := DEFENSIVE
|
|
|
|
endif
|
|
|
|
ifeq "$(OPTIMIZATION)" "AGGRESSIVE"
|
|
|
|
OPTI := AGGRESSIVE
|
|
|
|
MAXOPTI := DEFENSIVE
|
|
|
|
endif
|
|
|
|
ifeq "$(OPTIMIZATION)" "ULTRA"
|
|
|
|
OPTI := AGGRESSIVE
|
|
|
|
MAXOPTI := AGGRESSIVE
|
2011-08-01 15:41:32 +05:30
|
|
|
endif
|
|
|
|
|
2011-12-16 14:41:03 +05:30
|
|
|
ifndef OPTI
|
|
|
|
OPTI := DEFENSIVE
|
|
|
|
MAXOPTI := DEFENSIVE
|
2011-10-24 22:27:51 +05:30
|
|
|
endif
|
|
|
|
|
2011-12-16 14:41:03 +05:30
|
|
|
ifeq "$(PORTABLE)" "FALSE"
|
|
|
|
PORTABLE_SWITCH = -msse3
|
2011-10-24 22:27:51 +05:30
|
|
|
endif
|
2011-12-16 14:41:03 +05:30
|
|
|
|
|
|
|
ifeq "$(PRECISION)" "single"
|
|
|
|
FFTWPREC = f
|
2011-10-24 22:27:51 +05:30
|
|
|
else
|
2011-12-16 14:41:03 +05:30
|
|
|
FFTWPREC =
|
2011-10-24 22:27:51 +05:30
|
|
|
endif
|
2011-12-06 22:28:17 +05:30
|
|
|
|
2011-12-16 14:41:03 +05:30
|
|
|
|
|
|
|
# settings for multicore support
|
|
|
|
ifeq "$(OPENMP)" "ON"
|
|
|
|
OPENMP_FLAG_ifort = -openmp -openmp-report0 -parallel
|
|
|
|
OPENMP_FLAG_gfortran = -fopenmp
|
|
|
|
ACML_ARCH =_mp
|
|
|
|
LIBRARIES += -lfftw3$(FFTWPREC)_threads -lpthread
|
2011-10-24 22:27:51 +05:30
|
|
|
endif
|
2011-12-16 14:41:03 +05:30
|
|
|
|
|
|
|
LIBRARIES += -lfftw3$(FFTWPREC)
|
|
|
|
LIB_DIRS += -L$(FFTWROOT)/lib
|
|
|
|
|
2011-12-20 16:28:51 +05:30
|
|
|
ifdef IKMLROOT
|
|
|
|
LIBRARIES += -mkl
|
|
|
|
else
|
2011-12-16 14:41:03 +05:30
|
|
|
ifdef ACMLROOT
|
|
|
|
LIB_DIRS += -L$(ACMLROOT)/$(F90)64$(ACML_ARCH)/lib
|
|
|
|
LIBRARIES += -lacml$(ACML_ARCH)
|
2011-10-24 22:27:51 +05:30
|
|
|
else
|
2011-12-20 16:28:51 +05:30
|
|
|
ifdef LAPACKROOT
|
|
|
|
LIB_DIRS += -L$(LAPACKROOT)/lib -L$(LAPACKROOT)/lib64
|
2011-12-16 14:41:03 +05:30
|
|
|
LIBRARIES += -llapack
|
2011-08-03 23:27:28 +05:30
|
|
|
endif
|
2011-12-20 16:28:51 +05:30
|
|
|
endif
|
|
|
|
endif
|
2011-08-03 23:27:28 +05:30
|
|
|
|
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
|
|
|
|
OPTIMIZATION_AGGRESSIVE_ifort :=-O3 $(PORTABLE_SWITCH) -ip -static -fp-model fast=2 -no-prec-div
|
|
|
|
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
|
|
|
|
2011-12-16 14:41:03 +05:30
|
|
|
COMPILE_OPTIONS_ifort := -fpp -diag-disable 8291,8290
|
|
|
|
COMPILE_OPTIONS_gfortran := -xf95-cpp-input -fno-range-check
|
2011-09-13 21:24:06 +05:30
|
|
|
|
2011-12-16 14:41:03 +05:30
|
|
|
COMPILE = $(OPENMP_FLAG_$(F90)) $(COMPILE_OPTIONS_$(F90)) $(OPTIMIZATION_$(OPTI)_$(F90)) -c
|
|
|
|
COMPILE_MAXOPTI = $(OPENMP_FLAG_$(F90)) $(COMPILE_OPTIONS_$(F90)) $(OPTIMIZATION_$(MAXOPTI)_$(F90)) -c
|
2011-03-29 13:25:38 +05:30
|
|
|
|
2011-12-16 14:41:03 +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-16 14:41:03 +05:30
|
|
|
$(PREFIX) $(COMPILERNAME) $(OPENMP_FLAG_$(F90)) -o DAMASK_spectral_single.exe DAMASK_spectral_single.o CPFEM.a \
|
|
|
|
constitutive.a advanced.a basics.a $(LIB_DIRS) $(LIBRARIES)
|
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-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-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-12-16 14:41:03 +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-12-16 14:41:03 +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-12-16 14:41:03 +05:30
|
|
|
rm -rf *.exe
|
|
|
|
|