Download here - GPI
Transcript
CHAPTER 5. GETTING STARTED 40 # Makefile for DENISE #-------------------------------------------------------# edit here: # source code for model generation MODEL_EL = half_space.c EXEC= ../bin # Compiler (LAM: CC=hcc, CRAY T3E: CC=cc) # ON Linux cluster running LAM (options for DENISE) #CC=hcc #LFLAGS=-lm -lmpi -lcseife #CFLAGS=-O3 #SFLAGS=-L./../libcseife #IFLAGS=-I./../libcseife # On CRAY T3E # CC=cc # On MARWIN CC=mpicc LFLAGS=-lm -lcseife CFLAGS=-O3 SFLAGS=-L./../libcseife IFLAGS=-I./../libcseife # On HLRN system #CC=mpcc #LFLAGS=-lm # ALTIX #CC=icc #CFLAGS=-mp -O3 -ipo #LFLAGS=-lmpi -lm -i-static # On the workstations in Karlsruhe (GPI) CC=mpicc LFLAGS=-lm -lcseife -lstfinv -laff -lfourierxx -lfftw3 -lstdc++ CFLAGS=-O3 SFLAGS=-L./../libcseife -L./../contrib/bin IFLAGS=-I./../libcseife -I./../contrib/header # after this line, no further editing should be necessary # -------------------------------------------------------The program snapmerge that is used to merge the snapshots (see below) can be compiled with ”make snapmerge” in the directory /src. Since this is not a MPI program (no MPI functions are called) the MPI libraries are not required and any standard compiler (like gcc and cc) can be used to compile this program. The executables denise and snapmerge are located in the directory /bin.