1 |
jmc |
1.1 |
#! /bin/bash |
2 |
|
|
|
3 |
|
|
PROD_DIR="/opt/intel/composer_xe_2013_sp1" |
4 |
|
|
|
5 |
|
|
source $PROD_DIR/bin/compilervars.sh intel64 |
6 |
|
|
|
7 |
|
|
#=== MPI setting === |
8 |
|
|
|
9 |
|
|
#-- to use local installation of mpich-1 (to use with standard optfile): |
10 |
|
|
# PATH="/opt/intel/mpich-1.2.7p1_ic-14.0.0/bin:${PATH}" |
11 |
|
|
# MPI_INC_DIR="/opt/intel/mpich-1.2.7p1_ic-14.0.0/include" |
12 |
|
|
|
13 |
|
|
#- with mpich1, also need to put this in ./tcshrc (if unset) for mpirun |
14 |
|
|
# #setenv LD_LIBRARY_PATH /opt/intel/composer_xe_2013_sp1/lib/intel64 |
15 |
|
|
|
16 |
|
|
#-- to use standard fc19 mpich (to use with specific optfile): |
17 |
|
|
# PATH="/usr/lib64/mpich/bin:${PATH}" |
18 |
|
|
# MPI_INC_DIR="/usr/include/mpich-x86_64" |
19 |
|
|
|
20 |
|
|
#-- to use standard fc19 mpich with modified script mpicc,mpif77 & mpif90 |
21 |
|
|
# (default setting changed to icc & ifort) to use with standard optfile: |
22 |
|
|
PATH="/opt/intel/mpich_fc19_mod4ic/bin:${PATH}" |
23 |
|
|
MPI_INC_DIR="/usr/include/mpich-x86_64" |
24 |
|
|
|
25 |
|
|
export PATH |
26 |
|
|
export MPI_INC_DIR |
27 |
|
|
|