mod_itm

Having trouble compiling the Yambo source? Using an unusual architecture? Problems with the "configure" script? Problems in GPU architectures? This is the place to look.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan, Nicola Spallanzani

Forum rules
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
Post Reply
faffinito
Posts: 9
Joined: Tue Aug 31, 2010 9:55 am

mod_itm

Post by faffinito » Mon Nov 22, 2010 3:19 pm

Hi all,
I was trying to compile the last gpl version of Yambo on sp6 (3.2.3 rev 696), with these configure options:

Code: Select all

        export CPP=cpp
        export CC=xlc_r
        export F77=xlf_r
        export FC=xlf95_r
        export FCFLAGS='-O2 -q64 -qstrict -qarch=pwr6 -qtune=pwr6 -qmaxmem=-1 -qautodbl=dbl4 -qsuffix=f=f -qrealsize'
        ./configure --prefix=/sp6/userinternal/cin0644a/yambo \
                --with-fftw=/cineca/prod/libraries/fftw/3.2.2/xl--10.1/lib \
                --with-netcdf-lib=/gpfs/scratch/userinternal/cin0644a/netcdf4/lib \
                --with-netcdf-include=/gpfs/scratch/userinternal/cin0644a/netcdf4/lib/include \
                --with-p2y=4.0 \
                --with-iotk=/cineca/prod/build/applications/QuantumESPRESSO/4.1/xl--10.1/BA_WORK/QuantumESPRESSO-4.1/iotk  \
                --build=powerpc-ibm \
                --enable-netcdf-LFS
And I've got several erros in the mod_itm.f compilation:

Code: Select all

"mod_itm.f", line 437.34: 1513-062 (S) Generic procedure reference can not be resolved due to incorrect actual argument attributes.
"mod_itm.f", line 471.34: 1513-062 (S) Generic procedure reference can not be resolved due to incorrect actual argument attributes.
"mod_itm.f", line 536.21: 1513-062 (S) Generic procedure reference can not be resolved due to incorrect actual argument attributes.
"mod_itm.f", line 551.21: 1513-062 (S) Generic procedure reference can not be resolved due to incorrect actual argument attributes.
"mod_itm.f", line 566.20: 1513-062 (S) Generic procedure reference can not be resolved due to incorrect actual argument attributes.
I was thinking to solve it using xlf95 instead of xlf90 but I failed ...
Any hint?

Ciao,

Fabio
Fabio Affinito, PhD
CINECA - SCAI group
InterUniversity Computer Center
Via Magnanelli, 6/3
Casalecchio di Reno (Bologna) ITALY
+39/051/6171794 (Phone)

feffeficus
Posts: 31
Joined: Tue Apr 07, 2009 4:39 pm

Re: mod_itm

Post by feffeficus » Mon Nov 22, 2010 3:36 pm

So, I'm using
yambo 3.2.3 rev16

I have succesfull compilation in this way, no error.

Modules: charge these ones and *only* this:

Code: Select all

module load xl/10.1
module load netcdf/4.0.1--xl--10.1
module load fftw/3.2.2--xl--10.1
module load QuantumESPRESSO/4.1
module load lapack
export CPP=cpp
Compilers

Code: Select all

export CC=xlc_r
export F77=xlf_r
export FC=xlf90_r
export FCFLAGS='-O2 -q64 -qstrict -qarch=pwr6 -qtune=pwr6 -qmaxmem=-1 -qsuffix=f=f'
configure:

Code: Select all

./configure  
--with-fftw=/cineca/prod/libraries/fftw/3.2.2/xl--10.1/ 
--with-netcdf-lib=/cineca/prod/libraries/netcdf/4.0.1/xl--10.1/lib 
--with-netcdf-include=/cineca/prod/libraries/netcdf/4.0.1/xl--10.1/include 
--with-p2y=4.0 
--with-iotk=/cineca/prod/build/applications/QuantumESPRESSO/4.1/xl--10.1/BA_WORK/QuantumESPRESSO-4.1/iotk 
--build=powerpc-ibm --with-lapack=/cineca/prod/libraries/lapack/3.2.1/xl--10.1/lib 
--with-fftw=/cineca/prod/libraries/fftw/3.2.2/xl--10.1/lib/ 
--with-blacs=/cineca/prod/libraries/blacs/1.1/xl--10.1/lib/ 
--with-scalapack=/cineca/prod/libraries/scalapack/1.8.0/xl--10.1/lib/

faffinito
Posts: 9
Joined: Tue Aug 31, 2010 9:55 am

Re: mod_itm

Post by faffinito » Mon Nov 22, 2010 3:49 pm

Yes, your combination of configure options works fine. But why mine does not?

:-)
Fabio Affinito, PhD
CINECA - SCAI group
InterUniversity Computer Center
Via Magnanelli, 6/3
Casalecchio di Reno (Bologna) ITALY
+39/051/6171794 (Phone)

feffeficus
Posts: 31
Joined: Tue Apr 07, 2009 4:39 pm

Re: mod_itm

Post by feffeficus » Mon Nov 22, 2010 3:51 pm

try to compiie without netcdf
and then linking the mine.
Federico Iori - LSI - Ecole Polytechnique (Palaiseau) France - http://www.etsf.polytechnique.fr

User avatar
Conor Hogan
Posts: 111
Joined: Tue Mar 17, 2009 12:17 pm
Contact:

Re: mod_itm

Post by Conor Hogan » Mon Nov 22, 2010 5:04 pm

Fabio,
Often errors like that appear due to a .f file being left over from a previous (or erroneous) configure. Delete the mod_itm.f file and run gmake again. You might also turn on the more verbose compilation (--enable-msgs-comps) to make sure the file is preprocessed properly. If the error is still there let me know!
Conor
Dr. Conor Hogan
CNR-ISM, via Fosso del Cavaliere, 00133 Roma, Italy;
Department of Physics and European Theoretical Spectroscopy Facility (ETSF),
University of Rome "Tor Vergata".

Post Reply