asc26 amss-ncku initialized
This commit is contained in:
31
makefile_include/gpu/makefile.inc.duzh
Normal file
31
makefile_include/gpu/makefile.inc.duzh
Normal file
@@ -0,0 +1,31 @@
|
||||
# $Id: makefile_cao,v 1.2 2012/04/03 10:49:56 zjcao Exp $
|
||||
#used by mydesktop
|
||||
#modified by duzh, Feb.3,2013
|
||||
|
||||
#filein define all the directories should be included for head files
|
||||
filein = $(filein_old) $(filein_mpi) $(filein_cuda)
|
||||
filein_old = -I/usr/include
|
||||
filein_mpi= -I/usr/local/mpi-gcc/include
|
||||
filein_cuda= -I/usr/local/cuda/cuda-4.0/include
|
||||
filein_cuda_sdk= -I/usr/local/cuda/sdk-4.0/CUDALibraries/common/inc
|
||||
|
||||
|
||||
#LDLIB defines all the libs should be included
|
||||
LDLIBS = $(LDLIB_CUDA) $(LDLAB_MPI) $(LDLIB_FORTRAN)
|
||||
LDLIB_CUDA= -L/usr/local/cuda/cuda-4.0/lib64 -lcudart
|
||||
LDLIB_MPI= -L/usr/local/mpi-gcc/lib -lmpich
|
||||
LDLIB_FORTRAN= -L/vol-th/software/gcc-4.6.1/lib64 -lgfortran
|
||||
|
||||
#CXXAPPFLAGS defines all the flages for c plus compiler
|
||||
#CXXAPPFLAGS = -O2 -Wno-deprecated -Dfortran3 -Dnewc -fopenmp
|
||||
CXXAPPFLAGS = -O2 -Wno-deprecated -Dfortran3 -Dnewc
|
||||
#f90appflags = -O2 -fopenmp
|
||||
f90appflags = -O2 -x f95-cpp-input
|
||||
f90 = gfortran
|
||||
CXX = mpicxx
|
||||
CLINKER = mpicxx
|
||||
|
||||
#CUDA compile configure
|
||||
Cu = nvcc
|
||||
CUDA_LIB_PATH = -L/usr/local/cuda/cuda-4.0/lib64 -I/usr/local/cuda/sdk-4.0/CUDALibraries/common/inc
|
||||
CUDA_APP_FLAGS = -O2 --ptxas-options=-v -arch compute_20 -code compute_20,sm_20
|
||||
31
makefile_include/gpu/makefile.inc.tianhe
Normal file
31
makefile_include/gpu/makefile.inc.tianhe
Normal file
@@ -0,0 +1,31 @@
|
||||
# $Id: makefile_cao,v 1.2 2012/04/03 10:49:56 zjcao Exp $
|
||||
#used by mydesktop
|
||||
#modified by duzh, Feb.3,2013
|
||||
|
||||
#filein define all the directories should be included for head files
|
||||
filein = $(filein_old) $(filein_mpi) $(filein_cuda)
|
||||
filein_old = -I/usr/include
|
||||
filein_mpi= -I/usr/local/mpi-gcc/include
|
||||
filein_cuda= -I/usr/local/cuda/cuda-4.0/include
|
||||
filein_cuda_sdk= -I/usr/local/cuda/sdk-4.0/CUDALibraries/common/inc
|
||||
|
||||
|
||||
#LDLIB defines all the libs should be included
|
||||
LDLIBS = $(LDLIB_CUDA) $(LDLAB_MPI) $(LDLIB_FORTRAN)
|
||||
LDLIB_CUDA= -L/usr/local/cuda/cuda-4.0/lib64 -lcudart
|
||||
LDLIB_MPI= -L/usr/local/mpi-gcc/lib -lmpich
|
||||
LDLIB_FORTRAN= -L/vol-th/software/gcc-4.6.1/lib64 -lgfortran
|
||||
|
||||
#CXXAPPFLAGS defines all the flages for c plus compiler
|
||||
#CXXAPPFLAGS = -O2 -Wno-deprecated -Dfortran3 -Dnewc -fopenmp
|
||||
CXXAPPFLAGS = -O2 -Wno-deprecated -Dfortran3 -Dnewc
|
||||
#f90appflags = -O2 -fopenmp
|
||||
f90appflags = -O2 -x f95-cpp-input
|
||||
f90 = gfortran
|
||||
CXX = mpicxx
|
||||
CLINKER = mpicxx
|
||||
|
||||
#CUDA compile configure
|
||||
Cu = nvcc
|
||||
CUDA_LIB_PATH = -L/usr/local/cuda/cuda-4.0/lib64 -I/usr/local/cuda/sdk-4.0/CUDALibraries/common/inc
|
||||
CUDA_APP_FLAGS = -O2 --ptxas-options=-v -arch compute_20 -code compute_20,sm_20
|
||||
17
makefile_include/gpu/makefile_alps
Normal file
17
makefile_include/gpu/makefile_alps
Normal file
@@ -0,0 +1,17 @@
|
||||
# $Id: makefile_alps,v 1.1 2012/11/08 11:54:00 zjcao Exp $
|
||||
|
||||
#for ALPS PGI/openmpi
|
||||
|
||||
|
||||
|
||||
filein =
|
||||
|
||||
LDLIBS = -lpgf90 -lpgf902 -lpgf90rtl -lpgf90_rpm1 -lpgftnrtl -lpghpf -lpghpf2 -lpghpf_mpi
|
||||
|
||||
# you can also replace the above long list with just "-lpgf90libs"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
CXXAPPFLAGS = -O2 -Dfortran3 -Dnewc
|
||||
13
makefile_include/gpu/makefile_altix
Normal file
13
makefile_include/gpu/makefile_altix
Normal file
@@ -0,0 +1,13 @@
|
||||
# $Id: makefile_altix,v 1.2 2012/04/03 10:49:56 zjcao Exp $
|
||||
|
||||
#used by altix.sccas.cn
|
||||
|
||||
filein = -I/usr/include
|
||||
|
||||
|
||||
|
||||
LDLIBS = -L/usr/lib -L/opt/intel/fc/10.1.008/lib -lmpi -lifcore -limf -lintrins
|
||||
|
||||
|
||||
|
||||
CXXAPPFLAGS = -O2 -Wno-deprecated -Dfortran3
|
||||
15
makefile_include/gpu/makefile_bnu
Normal file
15
makefile_include/gpu/makefile_bnu
Normal file
@@ -0,0 +1,15 @@
|
||||
#$Id: makefile_bnu,v 1.2 2012/04/03 10:49:56 zjcao Exp $
|
||||
|
||||
# bnu has two compiler systems
|
||||
|
||||
# one is altix330
|
||||
|
||||
# one is chess which is used here
|
||||
|
||||
filein = -I/usr/chess/mpich-gm-gcc34-1.2.6..14b/include
|
||||
|
||||
|
||||
|
||||
LDLIBS = -L/opt/intel/fce/9.0/lib -lifcore -L/usr/chess/mpich-gm-gcc34-1.2.6..14b/lib64 -lmpich
|
||||
|
||||
|
||||
62
makefile_include/gpu/makefile_cao
Normal file
62
makefile_include/gpu/makefile_cao
Normal file
@@ -0,0 +1,62 @@
|
||||
# $Id: makefile_cao,v 1.2 2012/04/03 10:49:56 zjcao Exp $
|
||||
|
||||
#used by mydesktop
|
||||
|
||||
filein = -I/home/zjcao/local/include
|
||||
|
||||
|
||||
|
||||
LDLIBS = -L/home/zjcao/local/lib -lmpich -L/usr/lib -lgfortran
|
||||
|
||||
|
||||
|
||||
CXXAPPFLAGS = -O2 -Wno-deprecated -Dfortran3 -Dnewc
|
||||
|
||||
f90appflags = -O2
|
||||
|
||||
f90 = gfortran
|
||||
|
||||
CXX = g++
|
||||
|
||||
CLINKER = g++
|
||||
|
||||
.SUFFIXES: .o .f90 .C
|
||||
|
||||
|
||||
|
||||
.f90.o:
|
||||
|
||||
$(f90) $(f90appflags) -c $< -o $@
|
||||
|
||||
|
||||
|
||||
.C.o:
|
||||
|
||||
${CXX} ${CXXAPPFLAGS} -c $< ${filein} -o $@
|
||||
|
||||
|
||||
|
||||
# Input files
|
||||
|
||||
C++FILES = ABE.o cgh.o grid.o misc.o var.o var_list.o gsl.o operate_gsl.o\
|
||||
|
||||
bssn_class.o monitor.o surface_integral.o interpolation_cgh.o\
|
||||
|
||||
moving_box.o
|
||||
|
||||
|
||||
|
||||
F90FILES = initial_puncture.o prolongrestrict_cell.o polynomial_interpolation.o\
|
||||
|
||||
fmisc.o bssn.o cell_diff4.o rungekutta4_bssn.o sommerfeld_bssn.o\
|
||||
|
||||
rungekutta4_lapse_shift.o sommerfeld_lapse_shift.o\
|
||||
|
||||
enforce_algebra.o alwind_4th_9.o gauge_condition_9.o\
|
||||
|
||||
bssn_constraint.o fadmquantites_bssn.o getnp4.o kodiss.o
|
||||
|
||||
|
||||
|
||||
bssn_class.o: bssn_class.h cgh.h grid.h misc.h var.h gsl.h initial_puncture.h\
|
||||
|
||||
12
makefile_include/gpu/makefile_ibm1350
Normal file
12
makefile_include/gpu/makefile_ibm1350
Normal file
@@ -0,0 +1,12 @@
|
||||
#$Id: makefile_ibm1350,v 1.2 2012/04/03 10:49:56 zjcao Exp $
|
||||
|
||||
filein = -I/opt/vltmpi/OPENIB/mpi.pgcc.rsh/include -I/opt/pgi/linux86-64/6.2/include
|
||||
|
||||
|
||||
|
||||
LDLIBS = -L/opt/vltmpi/OPENIB/mpi.pgcc.rsh/lib -lmpich -L/usr/local/ofed/lib64 -libverbs -L/opt/pgi/linux86-64/6.2/lib -lpgf90 -lpgf902 -lpgf90rtl -lpgf90_rpm1 -lpgftnrtl -lpghpf -lpghpf2 -lpghpf_mpi -lstdc++
|
||||
|
||||
|
||||
|
||||
CXXAPPFLAGS = -O2 -fast --no_warnings -DUNDERSCORE -DWant_c_files -DANSI_HEADERS -Dfortran3 -Dnewc
|
||||
|
||||
14
makefile_include/gpu/makefile_icm
Normal file
14
makefile_include/gpu/makefile_icm
Normal file
@@ -0,0 +1,14 @@
|
||||
#$Id: makefile_icm,v 1.2 2012/04/03 10:49:56 zjcao Exp $
|
||||
|
||||
filein =
|
||||
|
||||
|
||||
|
||||
LDLIBS = -L/opt/intel/Compiler/11.1/064/lib/intel64 -lifcore\
|
||||
|
||||
-L/opt/intel/Compiler/11.1/064/mkl/lib/em64t\
|
||||
|
||||
-L/opt/intel/Compiler/11.1/064/mkl/lib/em64t -lmkl -lguide -lpthread
|
||||
|
||||
|
||||
|
||||
12
makefile_include/gpu/makefile_itp
Normal file
12
makefile_include/gpu/makefile_itp
Normal file
@@ -0,0 +1,12 @@
|
||||
#$Id: makefile_itp,v 1.1 2013/01/26 11:23:09 zjcao Exp $
|
||||
|
||||
filein =
|
||||
|
||||
|
||||
|
||||
LDLIBS = -lifcore
|
||||
|
||||
|
||||
|
||||
CXXAPPFLAGS = -O2 -Wno-deprecated -Dfortran3 -Dnewc
|
||||
|
||||
10
makefile_include/gpu/makefile_jtao
Normal file
10
makefile_include/gpu/makefile_jtao
Normal file
@@ -0,0 +1,10 @@
|
||||
filein =
|
||||
|
||||
CXXAPPFLAGS = -O2 -Wno-deprecated -Dfortran3 -Dnewc
|
||||
f90appflags = -O2 -cpp -ffree-line-length-256
|
||||
LDLIBS = -lgfortran
|
||||
f90 = mpif90
|
||||
f77 = mpif77
|
||||
CXX = mpicxx
|
||||
CC = mpicc
|
||||
CLINKER = mpicxx
|
||||
62
makefile_include/gpu/makefile_makoto
Normal file
62
makefile_include/gpu/makefile_makoto
Normal file
@@ -0,0 +1,62 @@
|
||||
# $Id: makefile_makoto,v 1.2 2012/04/03 10:49:56 zjcao Exp $
|
||||
|
||||
#used by makoto
|
||||
|
||||
filein = -I/opt/mpich127_gnu/include
|
||||
|
||||
|
||||
|
||||
LDLIBS = -L/opt/mpich127_gnu/lib -lmpich -lgfortran
|
||||
|
||||
|
||||
|
||||
CXXAPPFLAGS = -O2 -Wno-deprecated -Dfortran3 -Dnewc
|
||||
|
||||
f90appflags = -O2
|
||||
|
||||
f90 = gfortran
|
||||
|
||||
CXX = g++
|
||||
|
||||
CLINKER = g++
|
||||
|
||||
.SUFFIXES: .o .f90 .C
|
||||
|
||||
|
||||
|
||||
.f90.o:
|
||||
|
||||
$(f90) $(f90appflags) -c $< -o $@
|
||||
|
||||
|
||||
|
||||
.C.o:
|
||||
|
||||
${CXX} ${CXXAPPFLAGS} -c $< ${filein} -o $@
|
||||
|
||||
|
||||
|
||||
# Input files
|
||||
|
||||
C++FILES = ABE.o cgh.o grid.o misc.o var.o var_list.o gsl.o operate_gsl.o\
|
||||
|
||||
bssn_class.o monitor.o surface_integral.o interpolation_cgh.o\
|
||||
|
||||
moving_box.o
|
||||
|
||||
|
||||
|
||||
F90FILES = initial_puncture.o prolongrestrict_cell.o polynomial_interpolation.o\
|
||||
|
||||
fmisc.o bssn.o cell_diff4.o rungekutta4_bssn.o sommerfeld_bssn.o\
|
||||
|
||||
rungekutta4_lapse_shift.o sommerfeld_lapse_shift.o\
|
||||
|
||||
enforce_algebra.o alwind_4th_9.o gauge_condition_9.o\
|
||||
|
||||
bssn_constraint.o fadmquantites_bssn.o getnp4.o kodiss.o
|
||||
|
||||
|
||||
|
||||
bssn_class.o: bssn_class.h cgh.h grid.h misc.h var.h gsl.h initial_puncture.h\
|
||||
|
||||
10
makefile_include/gpu/makefile_nchc
Normal file
10
makefile_include/gpu/makefile_nchc
Normal file
@@ -0,0 +1,10 @@
|
||||
#$Id: makefile_nchc,v 1.2 2012/04/03 10:49:56 zjcao Exp $
|
||||
|
||||
LDLIBS = -lxlf90 -lC -lm
|
||||
|
||||
#
|
||||
|
||||
CXXAPPFLAGS = -q64 -O2 -qstrict -qarch=auto -qtune=auto -qcache=auto -qlanglvl=oldmath -lxlf90 -lm -lC -Dfortran1 -Dnewc
|
||||
|
||||
f90appflags = -q64 -O3 -qstrict -qarch=auto -qtune=auto -qcache=auto -qsuffix=f=f90
|
||||
|
||||
15
makefile_include/gpu/makefile_ncku
Normal file
15
makefile_include/gpu/makefile_ncku
Normal file
@@ -0,0 +1,15 @@
|
||||
# $Id: makefile_ncku,v 1.2 2012/04/03 10:49:56 zjcao Exp $
|
||||
|
||||
#used by NCKU's cluster sge
|
||||
|
||||
filein = -I/ap/pgi/linux86-64/6.2/mpi/mpich/include
|
||||
|
||||
|
||||
|
||||
LDLIBS = -lblas -L/ap/pgi/linux86-64/6.2/mpi/mpich/lib -lmpich \
|
||||
|
||||
-L/ap/pgi/linux86-64/6.2/lib -lpgf90 -lpgf902 \
|
||||
|
||||
-lpgf90rtl -lpgf90_rpm1 -lpgftnrtl -lpghpf -lpghpf2 -lpghpf_mpi -lstdc++
|
||||
|
||||
|
||||
15
makefile_include/gpu/makefile_quad1
Normal file
15
makefile_include/gpu/makefile_quad1
Normal file
@@ -0,0 +1,15 @@
|
||||
# $Id: makefile_quad1,v 1.2 2012/04/03 10:49:56 zjcao Exp $
|
||||
|
||||
#used by quad1
|
||||
|
||||
#used for memorry leak debuging
|
||||
|
||||
#~/soft/bin/valgrind --tool=memcheck --leak-check=full /home/jpyu/local/mpich127_64/bin/mpirun -np 4 -machinefile ../machines ABE >& out.log
|
||||
|
||||
filein = -I/home/jpyu/local/mpich127_64/include
|
||||
|
||||
|
||||
|
||||
LDLIBS = -L/home/jpyu/local/mpich127_64/lib -lmpich -L/opt/intel/fce/10.1.018/lib -lifcore
|
||||
|
||||
|
||||
13
makefile_include/gpu/makefile_quad2
Normal file
13
makefile_include/gpu/makefile_quad2
Normal file
@@ -0,0 +1,13 @@
|
||||
# $Id: makefile_quad2,v 1.2 2012/04/03 10:49:56 zjcao Exp $
|
||||
|
||||
#used by mydesktop
|
||||
|
||||
filein = -I/usr/include -I/home/zjcao/mpich-1.2.7p1/include
|
||||
|
||||
|
||||
|
||||
LDLIBS = -L/home/zjcao/mpich-1.2.7p1/lib -lmpich -L/usr/lib -lgfortran
|
||||
|
||||
|
||||
|
||||
CXXAPPFLAGS = -O2 -Wno-deprecated -Dfortran3 -Dnewc
|
||||
10
makefile_include/gpu/makefile_shenteng
Normal file
10
makefile_include/gpu/makefile_shenteng
Normal file
@@ -0,0 +1,10 @@
|
||||
# $Id: makefile_shenteng,v 1.2 2012/04/03 10:49:57 zjcao Exp $
|
||||
|
||||
filein = -I/home_soft/soft/x86_64/mpi/mpich2/1.0.8p1/include
|
||||
|
||||
|
||||
|
||||
LDLIBS = -L/home_soft/soft/x86_64/mpi/mpich2/1.0.8p1/lib -lmpich -lifcore
|
||||
|
||||
|
||||
|
||||
12
makefile_include/gpu/makefile_ssc
Normal file
12
makefile_include/gpu/makefile_ssc
Normal file
@@ -0,0 +1,12 @@
|
||||
#$Id: makefile_ssc,v 1.2 2012/04/03 10:49:57 zjcao Exp $
|
||||
|
||||
filein = -I/usr/include -I/home/compiler/mpi/mvapich/1.0/gcc.gfortran/include
|
||||
|
||||
|
||||
|
||||
LDLIBS = -L/home/compiler/mpi/mvapich/1.0/gcc.gfortran/lib -lmpich -L/usr/lib64 -lgfortran
|
||||
|
||||
|
||||
|
||||
CXXAPPFLAGS = -O2 -Wno-deprecated -Dfortran3 -Dnewc
|
||||
|
||||
15
makefile_include/gpu/makefile_valgrind
Normal file
15
makefile_include/gpu/makefile_valgrind
Normal file
@@ -0,0 +1,15 @@
|
||||
#$Id: makefile_valgrind,v 1.1 2012/04/03 10:49:57 zjcao Exp $
|
||||
|
||||
filein = -I/usr/include -I/home/zjcao/soft/mpich/include
|
||||
|
||||
|
||||
|
||||
LDLIBS = -L/opt/intel/Compiler/11.1/064/lib/intel64 -lifcore\
|
||||
|
||||
-L/opt/intel/Compiler/11.1/064/mkl/lib/em64t\
|
||||
|
||||
-L/opt/intel/Compiler/11.1/064/mkl/lib/em64t -lmkl -lguide -lpthread\
|
||||
|
||||
-L/home/zjcao/soft/mpich/lib -lmpich -lmpichcxx -lmpl
|
||||
|
||||
|
||||
12
makefile_include/gpu/note_step.txt
Normal file
12
makefile_include/gpu/note_step.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
#if (PSTR == 0) 1604
|
||||
#if 1 1605
|
||||
step 1606
|
||||
#else 2358
|
||||
step 2360
|
||||
#endif 3035
|
||||
#elif (PSTR == 1) 3036
|
||||
step{ 3037
|
||||
{
|
||||
} 3471
|
||||
|
||||
void bssn_class::SHStep()
|
||||
Reference in New Issue
Block a user