[Wien] Compiling problem with wien2k_06

Gerhard H Fecher fecher at uni-mainz.de
Thu Nov 9 13:35:32 CET 2006


That is not a bug of the compiler, it seems that the Linux Linker (that is not 
part of the Fortran compiler) on some Linux systems  does not understand what 
ifort is telling depending on the version.

The easiest way is to put -no-ipo (please check the syntax probably its not 
correct, but I don't have it at hand) in the Linker options (not the Compiler 
options)
Another way is to use the switch -O0  for the Linker (not Compiler !!!!) 
options, what means the Linker should not try to optimize, what it does not 
do anyway.
Both prevent that the Linker thinks  it has to do inter-procedural 
optimizations between different files. You still can tell the Compiler it may 
do interprocederal optimizations for a single file (-ip,  (!) not   -ipo that 
concerns different object files), as this is his duty and not the one of the 
Linker.

On the web you may also find some funny ways to create the empty files that 
the Linker is missing for whatever reason.

Ciao
Gerhard



Am Donnerstag, 9. November 2006 12:29 schrieb Andrea Salguero:
> Dear Narasimham
> There are some reports in the web that claim that there is a bug in the 
> fortran compiler, check it by writting
>  IPO link: can not find "("
>  ifort: error: problem during multi-file optimization compilation (code 1)
> 
> in google. I suggest you to use another fortran version.
> regards
> andrea
> 
> 
> On Thursday 09 November 2006 12:09, Narasimham Mulakaluri wrote:
> > Dear Wien users
> >
> > I am trying to compile WIEN2k_06.4 (Release 24/8/2006) with ifort 9.0
> > and mkl 8.1.1.
> >
> > Processor type : Intel(R) Xeon CPU 3.60GHz
> >
> > Operating system : SUSE linux : SUSE Linux Enterprise Server 10
> >
> > I am using the following options:
> >
> > Compiler options: -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML
> >
> > Linker Flags: -L../SRC_lib -L/opt/intel/mkl/8.1.1/lib/em64t –lguide
> > –lsvml -lpthread
> >
> > R_LIB (LAPACK+BLAS): -L/opt/intel/mkl/8.1.1/lib/em64t -lmkl_lapack64
> > -lmkl_em64t -lmkl_blas95 -lguide
> >
> > I see the following error in all programs
> >
> > 1) IPO link: can not find "("
> >
> > ifort: error: problem during multi-file optimization compilation (code 1)
> >
> > 2) also noticed this error
> >
> > SRC_structeditor/compile.msg:fortcom: Severe: **Internal compiler error:
> > segmentation violation signal raised** Please report this error along
> > with the circumstances in which it occurred in a Software Problem
> > Report. Note: File and line given may not be explicit cause of this error.
> >
> > I had gone through the mailing list and I tried the following
> >
> > 1) In compiler options
> >
> > a) without –ip
> >
> > b) used –no-ipo without -ip
> >
> > c) tried default optimisation level
> >
> > d) also tried to compile without -DINTEL_VML
> >
> > 2) LDFLAGS
> >
> > a) tried specifying the correct path for ifort
> >
> > -L/opt/intel/fce/9.0/lib
> >
> > b) -L../SRC_lib -L/opt/intel/mkl/8.1.1/lib/em64t -Vaxlib
> >
> > my $LD_LIBRARY_PATH shows
> >
> 
> /opt/intel/mkl/8.1.1/lib/em64t:/opt/intel/fce/9.0/lib:/opt/intel/fc/9.0/lib
> >
> > I can post if any other information is required from my side. I hope
> > with all your suggestion I can compile successfully.
> >
> > Thanks in advance
> >
> > Regards
> >
> > Narasimham
> >
> > _______________________________________________
> > Wien mailing list
> > Wien at zeus.theochem.tuwien.ac.at
> > http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> 
> -- 
> MSc. Andrea Salguero
> Johann Wolfgang Goethe-Universität
> Institut für Theoretische Physik
> Max-von-Laue-Strasse 1
> 60438 Frankfurt/Main
> Germany
> 
> Tel: +49-69-47830
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> 


More information about the Wien mailing list