[Pw_forum] compile GIPAW on aix

Giuseppe Mattioli giuseppe.mattioli at ism.cnr.it
Thu Feb 2 16:46:59 CET 2012


Dear all
I'm trying to compile the XSPECTRA code (4.3.2 version) on a power/AIX machine (sp.sp6 at cineca.it) 
where everything else goes generally fine.
When the compiler tries to compile the GIPAW directory, it stops complaining something that seems 
likely to be an "AIX related" issue (make -C src make: Not a recognized flag: C) that I am not able 
to solve.

        cd install ; make  -f plugins_makefile gipaw
make: 1254-053 Command "$(dummy-variable)" expands to empty string.

        if test ! -d ../GIPAW; then  (gzip -dc ../archive/qe-gipaw-latest.tar.gz | (cd ../ ; 
tar -xvf -)) ;  (cd ../ ; ln -s qe-gipaw* GIPAW) ; fi 
        touch uncompress-gipaw
        cd ../GIPAW ;  ./configure --with-qe-source=/gpfs/scratch/userexternal/gmattiol/4.3.2
checking for /gpfs/scratch/userexternal/gmattiol/4.3.2/make.sys... yes
checking for /gpfs/scratch/userexternal/gmattiol/4.3.2/Modules/version.f90... yes
checking quantum-Espresso version... 4.3.2
configure: creating ./config.status
config.status: creating makedeps.sh
config.status: creating src/Makefile
config.status: executing default commands
sed: illegal option -- i
Usage:  sed [-n] [-u] Script [File ...]
        sed [-n] [-u] [-e Script] ... [-f Script_file] ... [File ...]
sed: illegal option -- i
Usage:  sed [-n] [-u] Script [File ...]
        sed [-n] [-u] [-e Script] ... [-f Script_file] ... [File ...]
        touch ./configure-gipaw
        if test -d ../GIPAW; then  cd ../GIPAW; make all; cd ../bin; ln -fs ../GIPAW/bin/gipaw.x . ; 
fi
Building ce-gipaw...
        make -C src
make: Not a recognized flag: C
usage: make [-einqrst] [-k|-S] [-d[A|adg[1|2]mstv]] [-D variable] [-f makefile] [-j [jobs]] 
[variable=value ...] [target ...]
make: 1254-004 The error code from the last command is 2.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.


Can you provide any advice?

Yours

Giuseppe

-- 
********************************************************
- Article premier - Les hommes naissent et demeurent
libres et ègaux en droits. Les distinctions sociales
ne peuvent être fondèes que sur l'utilitè commune
- Article 2 - Le but de toute association politique
est la conservation des droits naturels et 
imprescriptibles de l'homme. Ces droits sont la libertè,
la propriètè, la sùretè et la rèsistance à l'oppression.
********************************************************

   Giuseppe Mattioli                            
   CNR - ISTITUTO DI STRUTTURA DELLA MATERIA   
   v. Salaria Km 29,300 - C.P. 10                
   I 00015 - Monterotondo Stazione (RM)          
   Tel + 39 06 90672836 - Fax +39 06 90672316    
   E-mail: <giuseppe.mattioli at ism.cnr.it>



More information about the users mailing list