Thanks to all for the ultrafast answers! G. On Thursday 02 February 2012 17:10:14 Ari P Seitsonen wrote: > Dear Giuseppe, > > Adding to Axel's answer: > > # ibm01 (~) : which sed > # /opt/freeware/bin/sed > # ibm01 (~) : whereis sed > # sed: /usr/bin/sed > > The former one, provided at least on some IBM AIX PowerX systems, contains > the version of make/sed/etc employing the GNU-like syntax, the latter one > are defaults from the AIX and have often different options. You can check > if the /opt/freeware exists on your machine and put it in your > variable PATH before the /usr/bin/ or /bin/. > > Just my experience... > > Greetings from Zurich, > > apsi > > -=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=* >=- Ari P Seitsonen / Ari.P.Seitsonen at iki.fi / http://www.iki.fi/~apsi/ > Physikalisch-Chemisches Institut der Universitaet Zuerich > Tel: +41 44 63 54 497 / Mobile: +41 79 71 90 935 > > On Thu, 2 Feb 2012, Giuseppe Mattioli wrote: > > 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> > > _______________________________________________ > > Pw_forum mailing list > > Pw_forum at pwscf.org > > http://www.democritos.it/mailman/listinfo/pw_forum
-- ******************************************************** - 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>
