LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Heiko Bauke (Heiko.Bauke_at_[hidden])
Date: 2004-11-30 12:55:03


Dear Luciano,

Zitat von Luciano Pezzi <wd20lp_at_[hidden]>:

> I have not succeded on my LAM-MPI compiling. I have a toshiba
> laptop
> with Suse Linux 8.1 in it and I am using the icc and ifort (intel)
> compilers. To compile LAM-MPI I am using the following commands and
> libs:
>
> >export CC=/opt/intel_cc_80/bin/icc
> >export CXX=/opt/intel_cc_80/bin/icc
> >export FC=/opt/intel_fc_80/bin/ifort
>
> >export CFLAGS='-static -L/opt/intel_cc_80/lib -lcprts -lguide'
> >export CXXFLAGS='-static -L/opt/intel_cc_80/lib -lcprts -lguide'
> >export FFLAGS='-static -L/opt/intel_fc_80/lib -lcprts -lguide'
>
> >./configure --prefix=/opt/lam_intel

I think you don't have a proper icc- and ifort-installation. To use
these compilers you have to set some environment variables. The
skripts

/opt/intel/intel_cc_80/bin/iccvars.sh and
/opt/intel/intel_fc_80/bin/ifortvars.sh

do the job for you. So add the lines

. /opt/intel/intel_cc_80/bin/iccvars.sh
. /opt/intel/intel_fc_80/bin/ifortvars.sh

to your shell login skripts. Have you tried to compile a Hello World
program using icc?

        Heiko

-- 
-- Gute Sitten haben für die Gesellschaft mehr Wert als alle 
-- Berechnungen Newtons. (Friedrich II., der Große, 1712-1786)
-- Supercomputing in Magdeburg @ http://tina.nat.uni-magdeburg.de
--                 Heiko Bauke @ http://www.uni-magdeburg.de/bauke