1. The compilation of Metis library can’t pass in CETO, this is maybe the icc is not set properly
2. The compilation of PPM library is not test in CETO. The compiled lib under linux: libppm.a and libmetis.a is used in CETO, didn’t recompiled.
3. The Makefile of SPH code is generated by mfmk, and the template is “mfmk_template_CETO” as following, the Makefile is generated in folder name “build”, the following script “perl mkmf -t mfmk_template_CETO ../src” is used to generate the make file:
# template for the Intel fortran compiler version with mpich2
# typical use with mkmf:
#-------------------------------------------------------
# perl mkmf -t mkmf_template ../src_prec_source
#------------------------------------------------------
# compiler to compile the source code.
FC = /opt/mpich2/mpich2-1.0.8-intel/bin/mpif90 -fpp
# compiler to link the source doe.
LD = /opt/mpich2/mpich2-1.0.8-intel/bin/mpif90 -fpp
CPPDEFS =
CPPFLAGS =
FPPFLAGS =
#define the include files.
#FFLAGS = -g -heap-arrays -O3 -axCORE-AVX2 -I/home/tmsxh/Desktop/hostshare/PPM_library_Linux/libppm-1.2.1/include/ppm
FFLAGS = -O3 -heap-arrays -O3 -I/data1/tmsxh/SPH/PPM_library_Linux/libppm-1.2.1/include/ppm
OTHERFLAGS =
LDFLAGS =
# add your libraries after LIBS= , e.g. -lblas
#LIBS = c:/mingw/lib
MKLLIB = -L /opt/intel/Compiler/11.1/038/mkl/lib/em64t -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5
#MKLLIB = /opt/intel/mkl/lib/intel64/libmkl_intel_lp64.a /opt/intel/mkl/lib/intel64/libmkl_intel_thread.a /opt/intel/mkl/lib/#intel64/libmkl_core.a -liomp5
#LIBS = -L/home/tmsxh/ppm/ppm-1.0.1/lib -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6 -lppm -lmetis -lvizing ${MKLLIB}
LIBS = -L/data1/tmsxh/SPH/PPM_library_Linux/libppm-1.2.1/lib -lppm -lmetis ${MKLLIB}
LDFLAGS = $(LIBS)