all modules in MPI: set compiler variables like CC in em.configure()
This commit is contained in:
@@ -3,6 +3,13 @@
|
||||
source "$(dirname $0)/../lib/libem.bash"
|
||||
|
||||
function em.configure() {
|
||||
CC=$MPICC
|
||||
CXX=$MPICXX
|
||||
F77=$MPIF77
|
||||
F90=$MPIF90
|
||||
FC=$MPIFC
|
||||
FORTRAN=$MPIFORTRAN
|
||||
|
||||
rm -f CMakeCache.txt
|
||||
cmake \
|
||||
-DCMAKE_BUILD_TYPE=RELEASE \
|
||||
|
||||
Reference in New Issue
Block a user