/[MITgcm]/MITgcm/tools/build_options/linux_amd64_pgf77+mpi_xd1
ViewVC logotype

Contents of /MITgcm/tools/build_options/linux_amd64_pgf77+mpi_xd1

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


Revision 1.2 - (show annotations) (download)
Thu Mar 24 13:28:09 2005 UTC (19 years, 1 month ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint57o_post, checkpoint57m_post, checkpoint57k_post, checkpoint57g_post, checkpoint57i_post, checkpoint57g_pre, checkpoint57f_pre, checkpoint57h_done, checkpoint57n_post, checkpoint57p_post, checkpoint57f_post, checkpoint57q_post, checkpoint57j_post, checkpoint57h_pre, checkpoint57l_post, checkpoint57h_post
Changes since 1.1: +4 -4 lines
o remove -r8 and -tp amd64 options. the latter is superfluous (why?), the
  former caused segmentation faults in some configurations

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_amd64_pgf77+mpi_xd1,v 1.1 2005/03/16 15:27:26 mlosch Exp $
4 # $Name: $
5 #
6 # tested on xd1.awi-bremerhaven.de
7 # Linux xd1-420-6 2.4.21_H_01_01 #6 SMP Wed Nov 3 15:30:06 PST 2004 x86_64 unknownx
8 # pgf77 5.2-4
9 # Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
10 # Copyright 2000-2004, STMicroelectronics, Inc. All Rights Reserved.
11
12 #FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
13
14 FC='mpif77'
15 CC='mpicc'
16 LINK='mpif77'
17 CPP='/usr/bin/cpp -P -traditional'
18
19 MPI='true'
20 DEFINES='-DWORDLENGTH=4'
21 INCLUDES='-I/usr/mpich/mpich-1.2.5-pgi522/include'
22 LIBS='-Mmpi -Mfmpi'
23
24 if test "x$IEEE" = x ; then
25 # No need for IEEE-754
26 FFLAGS='-byteswapio -Mnodclchk -Mextend'
27 FOPTIM='-O2 -Munroll'
28 else
29 # Try to follow IEEE-754
30 FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend'
31 FOPTIM='-tp amd64 -O0 -Munroll -Kieee'
32 fi

  ViewVC Help
Powered by ViewVC 1.1.22