/[MITgcm]/MITgcm/tools/build_options/linux_ia32_ifort.aces
ViewVC logotype

Annotation of /MITgcm/tools/build_options/linux_ia32_ifort.aces

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (hide annotations) (download)
Thu Sep 29 16:13:50 2011 UTC (12 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
move to unsupported/ (has been merged into linux_ia32_ifort)

1 jmc 1.1 #!/bin/bash
2 jmc 1.2 #
3 jmc 1.4 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifort.aces,v 1.3 2011/08/12 23:09:08 jmc Exp $
4 jmc 1.2 # $Name: $
5 jmc 1.1
6     # test Multi-Treaded with OpenMP:
7     # to get 1 node with 2 cpu : qsub -I -l nodes=1:ppn=2
8     # then on computer node:
9     # needs to load intel compiler version 9:
10     # > module load ifc/9.0.021 icc/9.0.021 intel/9.0
11     # set for 2 threads, and generally, needs to increase the stack-size:
12     # * sh,bash:
13     # > export OMP_NUM_THREADS=2
14     # > export KMP_STACKSIZE=400m
15     # * csh,tcsh:
16     # > setenv OMP_NUM_THREADS 2
17     # > setenv KMP_STACKSIZE 400m
18     #-------
19    
20     FC='ifort'
21     CC='icc'
22     LINK='ifort'
23 jmc 1.2
24 jmc 1.1 INCLUDES='-I/usr/local/pkg/ifc/ifc-9.0.021/include'
25     LIBS='-L/usr/local/pkg/ifc/ifc-9.0.021/lib'
26    
27     DEFINES='-DWORDLENGTH=4'
28     CPP='cpp -traditional -P'
29     EXTENDED_SRC_FLAG='-132'
30 jmc 1.3 GET_FC_VERSION="--version"
31 jmc 1.1 OMPFLAG='-openmp'
32    
33     NOOPTFLAGS='-O0'
34     NOOPTFILES='mds_byteswapr8.F mds_byteswapr4.F mds_byteswapi4.F'
35    
36     if test "x$IEEE" = x ; then
37     FOPTIM='-O3 -align'
38 jmc 1.2 FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl"
39 jmc 1.1 else
40     FOPTIM='-O0 -noalign'
41 jmc 1.2 FFLAGS="$FFLAGS -w95 -W0 -WB -pc64 -xW -convert big_endian -assume byterecl"
42 jmc 1.1 fi
43 jmc 1.2 #- might want to use '-r8' for fizhi pkg:
44     #FFLAGS="$FFLAGS -r8"
45 jmc 1.1
46     NOOPTFILES=$NOOPTFILES' mitcplr_char2real.F mitcplr_real2char.F'
47     NOOPTFILES=$NOOPTFILES' mitcplr_char2int.F mitcplr_int2char.F mds_byteswap.F'

  ViewVC Help
Powered by ViewVC 1.1.22