[Pw_forum] Re: Run-time error with pw.x when compiled with Intel 9.0

Paolo Giannozzi giannozz at nest.sns.it
Fri Feb 17 12:26:03 CET 2006


On Friday 17 February 2006 12:21, Clark Lee wrote:

>  from cfts_3 : error #         1
>  routine called by wrong architecture

it is a known problem with intel 9. From the manual (development
version):

\paragraph{ifort v.9}

At least some versions of ifort 9 have a buggy preprocessor that 
either prevents compilation of \texttt{iotk}, or produces runtime 
errors in \texttt{cft3}. Workaround: modify \texttt{make.sys} to 
explicitly perform preprocessing using \texttt{/lib/cpp}, as in 
the following example (courtesy from Sergei Lysenkov):
\begin{verbatim}
.f90.o:
        $(CPP) $(CPPFLAGS) $< -o $*.F90
        $(MPIF90) $(F90FLAGS) -c $*.F90 -o $*.o

CPP            = /lib/cpp
CPPFLAGS       = -P -C -traditional $(DFLAGS) $(IFLAGS)
\end{verbatim}

On some versions of RedHat Linux, you may get an obscure error: 
\texttt{IPO link: can not find "(" ... }, due to a bad system
configuration. Add option \texttt{-no-ipo} to \texttt{LDFLAGS} 
in file \texttt{make.sys}.
-- 
Paolo Giannozzi             e-mail:  giannozz at nest.sns.it
Scuola Normale Superiore    Phone:   +39/050-509876, Fax:-563513 
Piazza dei Cavalieri 7      I-56126 Pisa, Italy



More information about the users mailing list