Пример настроек компилятора Intel 32it для запуска на кластере Opteron

CC = /opt/intel/compiler80/bin/icc
CPP = /opt/intel/compiler80/bin/icpc
FC = /opt/intel/compiler80/bin/ifort

MPI_OPTS = -O3 -tpp6 -I/usr/lib/mpich/include
MPI_COMPILE_OPTS = $(MPI_OPTS)
MPI_CLIBS = -L/usr/lib/mpich/lib/intel80_tcp -lmpich -lpthread
MPI_FLIBS = -L/usr/lib/mpich/lib/intel80_tcp -lmpich -lfmpich -L/opt/intel/compiler80/lib -lpthread

.c.o:
        $(CC) -c $(MPI_COMPILE_OPTS) $<

.cpp.o:
        $(CPP) -c $(MPI_COMPILE_OPTS) $<

.f.o:
        $(FC) -c $(MPI_COMPILE_OPTS) -save $<

.for.o:
        $(FC) -c $(MPI_COMPILE_OPTS) -save $<
Edit | Print version | Topic revision: r2 - 2010-06-04 - 16:56:16 - AndreySokolov
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback