Re: installation of charm-6.0 in ia-64 cluster machine

From: Peter Freddolino (petefred_at_ks.uiuc.edu)
Date: Fri Jul 11 2008 - 12:23:30 CDT

Hi Anupam,
you might want to give the *full* path to your compilers in that file
and see if it helps.
Best,
Peter

Anupam Nath Jha wrote:
> Dear all
>
> I am trying to install charm-6.0(for namd) in my cluster machine.
> i have put this file into /soft/NAMD_2.6_Source/charm-6.0/src/arch/mpi-pathscale
>
> CMK_CPP_CHARM='/lib/cpp -P'
> CMK_CPP_C='pathcc -m64 -E'
> CMK_CC='pathcc -O2 -m64 -fPIC '
> CMK_CXX='pathCC -m64 -fPIC'
> CMK_CXXPP='pathCC -m64 -E '
> CMK_CF77='pathf90 -m64 -fPIC '
> CMK_CF90='pathf90 -m64 -fPIC'
> CMK_RANLIB='ranlib'
> CMK_LIBS='-lckqt -lmpich -L/opt/intel/cmkl/8.1/lib/ -lmv -lmpath -lpmpich'
> CMK_LD_LIBRARY_PATH="-Wl,-rpath,$CHARMLIBSO/"
> CMK_SEQ_LIBS=''
> CMK_SEQ_CC='pathcc -O1 -Wno-deprecated -m64 -fPIC '
> CMK_SEQ_LD='pathcc -m64 -fPIC '
> CMK_SEQ_CXX='pathCC -Wno-deprecated -m64 -fPIC'
> CMK_SEQ_LDXX='pathCC -m64 -fPIC '
> CMK_F90LIBS=''
> CMK_MOD_NAME_ALLCAPS=1
> CMK_MOD_EXT="mod"
> CMK_F90_USE_MODDIR=1
> CMK_F90_MODINC="-p "
> CMK_QT='generic64'
>
>
> and running the command:
> ./build charm++ mpi-pathscale -O -DCMK_OPTIMIZE=1
>
> but it's giving this error:
>
> checking "whether C++ compiler works"... "no"
> Cannot compile C++ programs with pathCC -m64 -fPIC
> (check your charm++ version)
> gmake[1]: *** [conv-autoconfig.h] Error 1
> gmake[1]: Leaving directory `/soft/NAMD_2.6_Source/charm-6.0/mpi-pathscale/tmp'
> gmake: *** [headers] Error 2
> -------------------------------------------------
> Charm++ NOT BUILT. Either cd into mpi-pathscale/tmp and try
> to resolve the problems yourself,
>
>
> i don't understand why it's not able to find C++ complier when i have already
> given the path in "conv-mach.sh" file.
>
>
> thanks in advance
> anupam
>
>
>

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:49:39 CST