/[MITgcm]/MITgcm/tools/build_options/linux_amd64_pgf90+mpi_greenplanet
ViewVC logotype

Contents of /MITgcm/tools/build_options/linux_amd64_pgf90+mpi_greenplanet

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


Revision 1.1 - (show annotations) (download)
Mon Apr 5 20:58:31 2010 UTC (14 years, 1 month ago) by yunx
Branch: MAIN
adding greenplanet-specific build_options files

1 #!/bin/bash
2 #
3 # $Header: $
4 # $Name: $
5 #
6 # tested on greenplanet.ps.uci.edu
7 # Linux greenplanet.ps.uci.edu 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
8 # pgf90 8.0-4 64-bit target on x86-64 Linux -tp penryn-64
9 # Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
10 # Copyright 2000-2009, STMicroelectronics, Inc. All Rights Reserved.
11
12 FC='mpif90'
13 CC='mpicc'
14 LINK='mpif90'
15 CPP='/usr/bin/cpp -P -traditional'
16
17 MPI='true'
18 DEFINES='-DWORDLENGTH=4'
19 INCLUDES='-I/sopt/mpi/mpich/pgi/include -I/sopt/netcdf/netcdf3-gcc-serial/include'
20 LIBS='-L/sopt/mpi/mpich/pgi/lib -L/sopt/netcdf/netcdf3-gcc-serial/lib'
21
22 if test "x$IEEE" = x ; then
23 # No need for IEEE-754
24 FFLAGS='-byteswapio -Mnodclchk -Mextend'
25 FOPTIM='-O2 -Munroll'
26 else
27 # Try to follow IEEE-754
28 FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend'
29 FOPTIM='-tp amd64 -O0 -Munroll -Kieee'
30 fi

  ViewVC Help
Powered by ViewVC 1.1.22