Пример настроек компилятора VAC 64bit для запуска на кластере IBM

CC  = ibm_exec /opt/ibmcmp/vac/8.0/bin/xlc -q64
CPP = ibm_exec /opt/ibmcmp/vac/8.0/bin/xlc -q64
FC  = ibm_exec /opt/ibmcmp/xlf/10.1/bin/xlf_r -q64 -qnosave -qpic=large

MPI_FLIBS = -L/usr/local/mpich/lib64/gnu_gm -lmpich -L/usr/local/GM/lib64 -lgm
MPI_CLIBS = -L/usr/local/mpich/lib64/gnu_gm -lmpich -L/usr/local/GM/lib64 -lgm

MPI_OPTS = -O5
MPI_COMPILE_OPTS = $(MPI_OPTS) -I/usr/local/mpich/include
FC_OPTS   = -qsmp=omp $(MPI_COMPILE_OPTS)
LINK_OPTS = -qsmp=omp -lxlf90 -lxlsmp -L/opt/ibmcmp/xlf/10.1/lib64 -lxl


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

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

.for.o:
         $(FC) -c $(MPI_COMPILE_OPTS) $<
Edit | Print version | Topic revision: r2 - 2010-06-04 - 16:56:47 - 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