[MITgcm-support] (no subject)

刘成彦 killy at nuist.edu.cn
Thu Sep 5 04:21:07 EDT 2013


Hello,

    I have done an experiment with different versions of compilers and optimize options, for example, "mpiifort -O3" and "mpiifort -O0", the results from two different optimize options are very different from each other.  So,maybe, some code should not be optimized in MITGCM, but if we don't optimize any code, it may induced really slowly computation. Which code can be optimized in each machine should be in our consideration, I have list my cluster hardware and compilers, does any one know which code can be optimized in the environment by the optionfile, Thanks for you consideration so much.

    Thanks,

Chengyan Liu

our computer is:

IBM HS22

our compiler is:

mpiifort for the Intel(R) MPI Library 4.0 Update 3 for Linux*
Copyright(C) 2003-2011, Intel Corporation.  All rights reserved.
ifort version 12.1.0
mpiicc for the Intel(R) MPI Library 4.0 Update 3 for Linux*
Copyright(C) 2003-2011, Intel Corporation.  All rights reserved.
icc version 12.1.0 (gcc version 4.1.2 compatibility)

our optionfile is:
 
#!/bin/bash
 
FC=mpiifort
F90C=mpiifort
CC=mpiicc
DEFINES='-DWORDLENGTH=4 -DALLOW_USE_MPI -DALWAYS_USE_MPI'
#DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI'
LINK='mpiifort'
CPP='cpp  -traditional -P'
#INCLUDES='-I/usr/include/netcdf'
 
INCLUDES='-I/home/software/netcdf_intel/include -I/home/intel/impi/4.0.3.008/intel64/include'
LIBS='-L/home/software/netcdf_intel/lib -L/home/intel/impi/4.0.3.008/intel64/lib -lmpi -lpthread'
 
#  Note that the -mp switch is for ieee "maintain precision" and is
#  roughly equivalent to -ieee
if test "x$IEEE" = x ; then
# lz(   FOPTIM='-O3 -align' )
    FOPTIM=
#P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
#P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
    FFLAGS='-132 -r8 -i4  -g -convert big_endian -assume byterecl'
    FOPTIM='-O3 -align'
else
    FOPTIM='-O0 -noalign'
    FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl'
   #FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'
fi



----------------
*********************************************
Dr. Chengyan Liu
Nanjing University of Information
Science & Technology
No.219, Ningliu Road, Nanjing, Jiangsu,
China(Postcode: 210044)
  Phone: 18251854735
E-Mail: killy at nuist.edu.cn

********************************************* 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20130905/0f14081d/attachment.htm>


More information about the MITgcm-support mailing list