[Pw_forum] Make file for JS20 power pc

Ari P Seitsonen ari.p.seitsonen at iki.fi
Wed Feb 13 19:12:47 CET 2008


Dear Mousumi,

   The problem is the "strange" mixture of AIX vs linux options. 
Specifically, the xlf* compilers should NOT get the '-D...' options on the 
command line at all (because they are processed with the 'cpp' already). 
OR, you tell the 'configure' that it should process the *.f90 files 
directly (thus avoiding 'cpp'), but for this you need to check the 
compiler options for xlf* anyway. The fastest way is probably to take the 
'-D*' options away from the compiler flags (and thus leave them only for 
the pre-processor 'cpp').

   The next problem will probably be, how to compile the parallel version: 
With 'mpxlf*' or with 'mpif90'; that depends on the installation of your 
system, but I guess it will be the second one.

   Good luck!

     Greetings from Paris,

        apsi

On Wed, 13 Feb 2008, Mousumi Upadhyay Kahaly wrote:

> Dear All,
>
> I'm trying to compile espresso-3.2.3 (both serial and parallel versions)
> in a cluster with following configuration:
> 70 IBM JS20 PowerBlades with 2 PPC970 (1.6GHz) CPU's
> Operating system: SLES8 (Linux, Susse)
> Can any of you please provide me make.sys file for such system? Actually,
> I'm facing some problem during installation.
>
> While running ./configure , though it is completed successfully, I get a
> warning message,
> -------------------------------------------------------------------------
> checking build system type... powerpc64-unknown-linux-gnu
> configure: WARNING: incorrect host name ?
> checking architecture...
> configure: WARNING: unsupported architecture?
> checking for xlf90... xlf90
> checking for Fortran 77 compiler default output... a.out
> checking whether the Fortran 77 compiler works... yes
> checking whether we are cross compiling... yes
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU Fortran 77 compiler... no
> -----------------------------------------------------------------------
>
> However, after this, while running "make all" with the generated make.sys
> file, I get the following error message.
> --------------------------------------------------------------------------
> cpp -P -traditional -D__FFTW -D__USE_INTERNAL_FFTW -D__MPI -D__PARA
> -I../include  iotk_base.f90 -o iotk_base.F90
> xlf90 -O -D__FFTW -D__USE_INTERNAL_FFTW -D__MPI -D__PARA -I../include
> -I./  -I../Modules  -I../iotk/src -I../PW  -I../PH  -I../CPV -c
> iotk_base.F90 -o iotk_base.o
> xlf90: 1501-216 command option -__FFTW is not recognized - passed to ld
> xlf90: 1501-216 command option -__USE_INTERNAL_FFTW is not recognized -
> passed to ld
> xlf90: 1501-216 command option -__MPI is not recognized - passed to ld
> xlf90: 1501-216 command option -__PARA is not recognized - passed to ld
> xlf90: 1501-218 file iotk_base.F90 contains an incorrect file suffix
> make[2]: *** [iotk_base.o] Error 1
> make[2]: Leaving directory
> `/home/users/mousumi/godot/espresso-3.2.3/iotk/src'
> make[1]: *** [libiotk.a] Error 2
> make[1]: Leaving directory `/home/users/mousumi/godot/espresso-3.2.3/iotk'
> make: *** [libiotk] Error 2
> ------------------------------------------------------------------------
>
> Could you please help me to sort this out?
>
> Thanks and best regards,
> mousumi.
>
> Mousumi Upadhyay Kahaly
> Research Associate,
> Theoretical Sciences Unit,
> JNCASR, Bangalore, India.
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum
>

-- 
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
   Ari P Seitsonen / Ari.P.Seitsonen at iki.fi / http://www.iki.fi/~apsi/
   IMPMC, CNRS & Université Pierre et Marie Curie
   Tel: +33-1-4427 7542, Fax: +33-1-4427 3785, GSM: +33-6-6736 3820


More information about the Pw_forum mailing list