/[MITgcm]/MITgcm/tools/build_options/linux_ia32_ifort+mpi_aces
ViewVC logotype

Annotation of /MITgcm/tools/build_options/linux_ia32_ifort+mpi_aces

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


Revision 1.2 - (hide annotations) (download)
Sun Nov 14 19:30:42 2004 UTC (19 years, 5 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint57t_post, checkpoint58l_post, checkpoint57o_post, checkpoint57m_post, checkpoint58e_post, checkpoint57f_post, checkpoint57s_post, checkpoint57j_post, checkpoint58b_post, checkpoint57b_post, checkpoint57k_post, checkpoint57d_post, checkpoint57g_post, checkpoint57c_pre, checkpoint56b_post, checkpoint57i_post, checkpoint57y_post, checkpoint58g_post, checkpoint57x_post, checkpoint57g_pre, checkpoint58h_post, checkpoint57e_post, checkpoint56c_post, checkpoint58j_post, checkpoint57h_post, checkpoint57y_pre, checkpoint57f_pre, checkpoint57a_post, checkpoint57v_post, checkpoint57r_post, checkpoint58, checkpoint57a_pre, checkpoint57, checkpoint56, eckpoint57e_pre, checkpoint57h_done, checkpoint58f_post, checkpoint57n_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint57z_post, checkpoint57c_post, checkpoint58k_post, checkpoint57h_pre, checkpoint57l_post, checkpoint56a_post
Changes since 1.1: +1 -1 lines
 o add the MPI include dir so that CPP can find the headers it needs

1 edhill 1.1 #!/bin/bash
2     #
3     # Ed Hill
4     #
5     # tested on faulks, 20030818
6     #
7     # Build options for the intel 8.0 fortran compiler
8     # the compiler is now called ifort (not ifc) and it appears to
9     # need -DWORDLENGTH=1 and not -DWORDLENGTH=4 (which is what ifc 6.0) used to have.
10    
11    
12     FC=mpif77
13     CC=mpicc
14     DEFINES='-D_BYTESWAPIO -DWORDLENGTH=1'
15     LINK=mpif77
16     CPP='cpp -traditional -P'
17 edhill 1.2 INCLUDES='-I/usr/local/pkg/mpich/mpich-intel/include -I/usr/local/pkg/ifc/ifc-8.1.018/include'
18 edhill 1.1
19     # Note that the -mp switch is for ieee "maintain precision" and is
20     # roughly equivalent to -ieee
21     if test "x$IEEE" = x ; then
22     FOPTIM='-O3 -align'
23     #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
24     #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
25     FFLAGS='-132 -r8 -i4 -w95 -W0 -WB'
26     else
27     FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'
28     fi
29    
30    
31    

  ViewVC Help
Powered by ViewVC 1.1.22