Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Utkarsh Ayachit
ParaView-Superbuild
Commits
e75a4d7a
Commit
e75a4d7a
authored
Jan 06, 2016
by
Chuck Atkins
Browse files
Adjust Cray cross build script to use newer Intel compiler
parent
4e1e0c4d
Changes
1
Show whitespace changes
Inline
Side-by-side
Scripts/Sites/Cray-PrgEnv-cross-compile.sh
View file @
e75a4d7a
...
...
@@ -33,12 +33,13 @@ else
fi
.
/opt/modules/default/init/bash
module purge 1>/dev/null 2>/dev/null
module load modules
${
EXTRA_MODULES
}
gcc PrgEnv-
${
COMP
}
craype-
${
CPU
}
cray-mpich cray-hdf5
module load modules
gcc
export
CC
=
gcc
export
CXX
=
g++
export
FC
=
gfortran
export
CC
=
$(
which
gcc
)
export
CXX
=
$(
which
g++
)
export
FC
=
$(
which
gfortran
)
mkdir
tools
cd
tools
...
...
@@ -57,9 +58,21 @@ ${CMAKE} \
-DENABLE_bzip2
:BOOL
=
TRUE
\
-DUSE_SYSTEM_bzip2
:BOOL
=
TRUE
\
-Ddownload_location
:PATH
=
${
DOWN
}
\
-DPV_MAKE_NCPUS
=
12
\
${
SRC
}
make
module purge 1>/dev/null 2>/dev/null
module load modules
${
EXTRA_MODULES
}
PrgEnv-
${
COMP
}
craype-
${
CPU
}
cray-mpich cray-hdf5
if
[
"
${
COMP
}
"
=
"intel"
]
then
# We still need the gcc module with the Intel compiler so we can get C++11 headers
module load gcc
# Use a newer Intel compiler
module swap intel intel/15.0.5.223
fi
unset
CC
unset
CXX
unset
FC
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment