1 #CMK_DEFS="$CMK_DEFS -DHAVE_USR_INCLUDE_MALLOC_H=1 "
5 CMK_CPP_CHARM
="/lib/cpp -P"
6 CMK_CPP_C
="gcc -E $CMK_AMD64 "
7 CMK_CC
="gcc $CMK_AMD64 "
8 CMK_CXX
="g++ $CMK_AMD64 "
9 CMK_CXXPP
="$CMK_CXX -x c++ -E $CMK_AMD64 "
11 CMK_LD
="$CMK_CC $CMK_AMD64 "
12 CMK_LDXX
="$CMK_CXX $CMK_AMD64 "
13 CMK_LD_SHARED
="-shared"
14 CMK_LD_LIBRARY_PATH
="-Wl,-rpath,$CHARMLIBSO/"
18 CMK_WARNINGS_ARE_ERRORS
="-Werror"
19 CMK_CXX_OPTIMIZE
="-O3"
21 # native compiler for compiling charmxi, etc
22 CMK_NATIVE_CC
="$CMK_CC $CMK_AMD64 -fPIC $CMK_DEFS "
23 CMK_NATIVE_CXX
="$CMK_CXX $CMK_AMD64 -fPIC $CMK_DEFS "
24 CMK_NATIVE_LD
="$CMK_CC $CMK_AMD64 -fPIC "
25 CMK_NATIVE_LDXX
="$CMK_CXX $CMK_AMD64 -fPIC "
27 # native compiler for compiling charmxi, etc
28 CMK_SEQ_CC
="$CMK_NATIVE_CC"
29 CMK_SEQ_CXX
="$CMK_NATIVE_CXX"
30 CMK_SEQ_LD
="$CMK_NATIVE_LD"
31 CMK_SEQ_LDXX
="$CMK_NATIVE_LDXX"
35 CMK_CF90
=`which f95 2>/dev/null`
36 if test -n "$CMK_CF90"
38 # CMK_FPP="/lib/cpp -P -CC"
39 # CMK_CF90="$CMK_CF90 -fpic -fautomatic -fdollar-ok "
40 # CMK_CF90_FIXED="$CMK_CF90 -ffixed-form "
41 # CMK_F90LIBS="-lgfortran "
42 # CMK_F90_USE_MODDIR=1
44 # CMK_MOD_NAME_ALLCAPS=
46 .
$CHARMINC/conv-mach-gfortran.sh
50 CMK_CF90_FIXED
="$CMK_CF90 -W132 "
51 CMK_F90LIBS
="-L/usr/absoft/lib -L/opt/absoft/lib -lf90math -lfio -lU77 -lf77math "