File tree Expand file tree Collapse file tree 5 files changed +60
-37
lines changed
Expand file tree Collapse file tree 5 files changed +60
-37
lines changed Original file line number Diff line number Diff line change @@ -573,7 +573,6 @@ configure_file(src/arch/common/cc-iccstatic.sh include/ COPYONLY)
573573configure_file (src/arch/common/cc-iccstatic.h include / COPYONLY )
574574configure_file (src/arch/common/cc-gcc.sh include / COPYONLY )
575575configure_file (src/arch/common/cc-gcc.h include / COPYONLY )
576- configure_file (src/arch/common/cc-mpi.sh include / COPYONLY )
577576configure_file (src/arch/common/cc-mpiopts.sh include / COPYONLY )
578577configure_file (src/arch/common/cc-msvc .h include / COPYONLY )
579578configure_file (src/arch/common/cc-msvc .sh include / COPYONLY )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -30,4 +30,4 @@ CMK_DEFS="$CMK_DEFS -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX"
3030
3131CMK_LIBS=" -lckqt $CMK_SYSLIBS "
3232CMK_QT=' generic64-light'
33- CMK_RANLIB=' ranlib'
33+ CMK_RANLIB=' ranlib'
Original file line number Diff line number Diff line change 11CMK_DEFS=" $CMK_DEFS -m32"
22CMK_FDEFS=" $CMK_FDEFS -m32"
33
4- . $CHARMINC /cc-mpi .sh
4+ . $CHARMINC /cc-mpiopts .sh
55
66CMK_QT=' i386-gcc'
77
8- CMK_NATIVE_CC=' gcc '
9- CMK_NATIVE_CXX=' g++ '
8+
9+ CMK_CC=" $MPICC "
10+ CMK_CXX=" $MPICXX "
11+
12+ CMK_LD_LIBRARY_PATH=" -Wl,-rpath,$CHARMLIBSO /"
13+
14+ CMK_NATIVE_CC=' gcc'
15+ CMK_NATIVE_CXX=' g++'
1016CMK_NATIVE_LD=' gcc'
1117CMK_NATIVE_LDXX=' g++'
1218CMK_NATIVE_LIBS=' '
1319
14- CMK_CF77=' f77'
15- CMK_CF90=' f90'
16- CMK_F90LIBS=' -L/usr/absoft/lib -L/opt/absoft/lib -lf90math -lfio -lU77 -lf77math '
20+ CMK_NATIVE_FLAGS=' -fPIC'
21+
22+ CMK_NATIVE_CC_FLAGS=" $CMK_NATIVE_FLAGS "
23+ CMK_NATIVE_LD_FLAGS=" $CMK_NATIVE_FLAGS "
24+ CMK_NATIVE_CXX_FLAGS=" $CMK_NATIVE_FLAGS "
25+ CMK_NATIVE_LDXX_FLAGS=" $CMK_NATIVE_FLAGS "
26+
27+ # Fortran
28+ CMK_CXX_IS_GCC=` $MPICXX -V 2>&1 | grep ' g++' `
29+ CMK_CXX_IS_ICC=` $MPICXX -V 2>&1 | grep Intel `
30+ if test -n " $CMK_CXX_IS_GCC "
31+ then
32+ . $CHARMINC /conv-mach-gfortran.sh
33+ elif test -n " $CMK_CXX_IS_ICC "
34+ then
35+ . $CHARMINC /conv-mach-ifort.sh
36+ fi
37+
38+ CMK_COMPILER=' mpicc'
Original file line number Diff line number Diff line change 1- . $CHARMINC /cc-mpi .sh
1+ . $CHARMINC /cc-mpiopts .sh
22
33CMK_QT=' generic64-light'
44
5+
6+ CMK_CC=" $MPICC "
7+ CMK_CXX=" $MPICXX "
8+
9+ CMK_LD_LIBRARY_PATH=" -Wl,-rpath,$CHARMLIBSO /"
10+
11+ CMK_NATIVE_CC=' gcc'
12+ CMK_NATIVE_CXX=' g++'
13+ CMK_NATIVE_LD=' gcc'
14+ CMK_NATIVE_LDXX=' g++'
515CMK_NATIVE_LIBS=' '
6- CMK_NATIVE_CC=' xlc_r '
7- CMK_NATIVE_LD=' xlc_r '
8- CMK_NATIVE_CXX=' xlC_r '
9- CMK_NATIVE_LDXX=' xlC_r '
10-
11- CMK_CF77=' mpif77 '
12- CMK_CF90=' mpif90 '
13- CMK_F90LIBS=' -L/opt/absoft/lib -lf90math -lfio -lU77 -lf77math '
14- CMK_MOD_NAME_ALLCAPS=1
15- CMK_MOD_EXT=' mod'
16+
17+ CMK_NATIVE_FLAGS=' -fPIC'
18+
19+ CMK_NATIVE_CC_FLAGS=" $CMK_NATIVE_FLAGS "
20+ CMK_NATIVE_LD_FLAGS=" $CMK_NATIVE_FLAGS "
21+ CMK_NATIVE_CXX_FLAGS=" $CMK_NATIVE_FLAGS "
22+ CMK_NATIVE_LDXX_FLAGS=" $CMK_NATIVE_FLAGS "
23+
24+ # Fortran
25+ CMK_CXX_IS_GCC=` $MPICXX -V 2>&1 | grep ' g++' `
26+ CMK_CXX_IS_ICC=` $MPICXX -V 2>&1 | grep Intel `
27+ if test -n " $CMK_CXX_IS_GCC "
28+ then
29+ . $CHARMINC /conv-mach-gfortran.sh
30+ elif test -n " $CMK_CXX_IS_ICC "
31+ then
32+ . $CHARMINC /conv-mach-ifort.sh
33+ fi
34+
35+ CMK_COMPILER=' mpicc'
You can’t perform that action at this time.
0 commit comments