LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Hugh Merz (merz_at_[hidden])
Date: 2005-02-23 09:57:54


>> $> ./configure --prefix=/apps/share/lam-7.1.1-ic32 \
>> --exec-prefix=/apps/share/lam-7.1.1-ic32 \
>> CFLAGS="-O -tpp6 -static" \
>> CXXFLAGS="-O -tpp6 -static" \
>> FFLAGS="-O -tpp6 -static" \
>> CXX=icpc \
>> CC=icc \
>> FC=ifort \
>> --without-romio 2>&1 | tee log/configure.log
>> $> make 2>&1 | tee make.log
>> $> make install 2>&1 | tee install.log
>> $> /apps/share/lam-7.1.1-ic32/bin/mpif77
>> Segmentation fault
>> $> cry for mama
>> -bash: cry: command not found

I would try changing your compiler flags.

-tpp6 optimizes for the following:

Intel(R) Pentium(R) Pro, Intel(R) Pentium(R) II and Intel(R) Pentium(R)
III processors

If you are trying to execute on a different processor this may cause a seg
fault.

-O should be fine.

-static will prevent linking to shared libs.

I'm fairly certain that this is the source of your problem, although I'm
not sure why. You could try running a debugger, but I'm not sure that
-static is necessary in any case.

Hugh