/[MITgcm]/MITgcm_contrib/test_scripts/other/intel_v12.sh
ViewVC logotype

Annotation of /MITgcm_contrib/test_scripts/other/intel_v12.sh

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


Revision 1.1 - (hide annotations) (download) (as text)
Mon Jul 11 23:01:59 2011 UTC (14 years ago) by jmc
Branch: MAIN
File MIME type: application/x-sh
optfile no longer used (use standard one with "-devel" option);
add intel script to set-up compiler environment vaiables

1 jmc 1.1 #! /bin/bash
2    
3     if [ -z "${PATH}" ]
4     then
5     PATH="/opt/intel/bin";
6     else
7     PATH="/opt/intel/bin:${PATH}";
8     fi
9     PATH="/opt/intel/mpich-1.2.7p1_ic-12.0.4/bin:${PATH}"
10     export PATH
11     MPI_INC_DIR="/opt/intel/mpich-1.2.7p1/include"
12     export MPI_INC_DIR
13    
14     if [ -z "${LD_LIBRARY_PATH}" ]
15     then
16     LD_LIBRARY_PATH="/opt/intel/lib/intel64"
17     else
18     LD_LIBRARY_PATH="/opt/intel/lib/intel64:${LD_LIBRARY_PATH}"
19     fi
20     export LD_LIBRARY_PATH
21    
22     if [ -z "${LIBRARY_PATH}" ]
23     then
24     LIBRARY_PATH="/opt/intel/lib/intel64"
25     else
26     LIBRARY_PATH="/opt/intel/lib/intel64:${LIBRARY_PATH}"
27     fi
28     export LIBRARY_PATH
29     if [ -z "${NLSPATH}" ]
30     then
31     NLSPATH="/opt/intel/lib/intel64/locale/%l_%t/%N"
32     else
33     NLSPATH="/opt/intel/lib/intel64/locale/%l_%t/%N:${NLSPATH}"
34     fi
35     export NLSPATH
36    
37     if [ -z "${MANPATH}" ]
38     then
39     MANPATH="/opt/intel/man/en_US":$(manpath)
40     else
41     MANPATH="/opt/intel/man/en_US:${MANPATH}"
42     fi
43     export MANPATH
44    
45     if [ -z "${INTEL_LICENSE_FILE}" ]
46     then
47     INTEL_LICENSE_FILE="/opt/intel/licenses"
48     else
49     INTEL_LICENSE_FILE="${INTEL_LICENSE_FILE}:/opt/intel/licenses"
50     fi
51     export INTEL_LICENSE_FILE
52    

  ViewVC Help
Powered by ViewVC 1.1.22