LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Sumeet Kapur (kapurs_at_[hidden])
Date: 2005-07-05 11:58:30


Hi All-

I am able to compile the lam with new compilers.
This is what I did::
> sh-2.05b$ CC=/opt/intel_cc_80/bin/icc
> sh-2.05b$ CXX=/opt/intel_cc_80/bin/icpc
> sh-2.05b$ FC=/opt/intel_cc_80/bin/ifc
> sh-2.05b$ export CC CXX FC
> sh-2.05b$ ./configure
CFLAGS='-i-static -static-libcxa -cxxlib-icc'
CXXLAGS='-i-static -static-libcxa -cxxlib-icc'
FFLAGS='-static-libcxa"
Using -static option as suggested below for CFLAGS and CXXFLAGS didn't work.

Also ealier I was not able to run my fortran (single processor) code, now
when I use -i-static option, i am able to run the fortran code, but now I am
having some problem with my C-parallel code.

thanks in advance-
-sumeet-

When I try to compile the parallel code using mpicc:
This is what i get as an output::
---------->make prmpi.x
mpicc -c main.C
mpicc -c initpos.C
initpos.C(579): warning #268: the format string ends before this argument
        fprintf( flowrite[2],"nleft\n",(nhtot-nv) ) ;
                                       ^
mpicc -c iodata.C
mpicc -c commun.C
mpicc -c eigen.C
mpicc -c eval.C
mpicc -c ters_eval.C
mpicc -c var_init.C
mpicc -c cellsetup.C
mpicc -c nlist.C
mpicc -c integrate.C
integrate.C(228): warning #181: argument is incompatible with corresponding
format string conversion
    fscanf(fpinPR,"%d %s",&pot,&iensemble);
                               ^
mpicc -O3 main.o initpos.o iodata.o commun.o eigen.o eval.o ters_eval.o
var_init.o cellsetup.o nlist.o integrate.o -o prmpi.x
main.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
initpos.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
iodata.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
commun.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
eigen.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
eval.o(.eh_frame+0x12): more undefined references to `__gxx_personality_v0'
follow
make: *** [prmpi.x] Error 1

-----Original Message-----
From: Andrew Sapronov [mailto:sapr_at_[hidden]]
Sent: Monday, July 04, 2005 8:04 AM
To: kapurs_at_[hidden]; General LAM/MPI mailing list
Subject: Re: LAM: Trouble installing LAM 7.1.1 on Red Hat Linux 3 ES
usingicc, icpc and ifc (intel compilers)

On Thu, 2005-06-30 at 13:05 -0400, Sumeet Kapur wrote:
Try this options:
"-static -i-static -static-libcxa -cxxlib-icc" for icc & icpc
"-static -static-libcxa" for ifort
> hi all-
>
> I am trying to install lam 7.1.1 usig intel compilers on red hat linux 3
> ES.
> It gives the following error.
> Lam installs fine if i don't specify intel compilers.
> Any help will be be greatly appreciated.
>
> thanks-
> -sumeet-
>
> sh-2.05b$ CC=/opt/intel_cc_80/bin/icc
> sh-2.05b$ CXX=/opt/intel_cc_80/bin/icpc
> sh-2.05b$ FC=/opt/intel_cc_80/bin/ifc
> sh-2.05b$ export CC CXX FC
> sh-2.05b$ ./configure
>

>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/