[Pw_forum] compilation in SGI

2006-05-24 Thread Andrea Ferretti

Hi Jose,

I think I found a similar problem on an old SGI O2 machine...
as it seems in your case, my trouble was related to the truncation of some 
strings in the moduldep.sh script (in particular the variables $sources 
and $sources_all in the lines with egrep)

I tried with some stupid fix (eg, doing the egrep file by file inside a 
loop) , but found nothing interesting some more serious hacking is 
needed :-), ie, those variables must be made actually shorter... 

anyway,
if you only need to compile PW and PP it is much easier (the usual 
"quick and dirty" way) to edit PP/make.depend  and substitute

pw_export.o : @iotk_module@  

by

pw_export.o : ../iotk/src/iotk_module.o

it works fine for me...

 andrea


On Tue, 23 May 2006, Jos? C. Conesa wrote:

> Hi,
> I try to compile espresso 3.1 in a SGI Origin 200 system . When 
> running configure there appear in the screen some error messages 
> within the part of the output related to checking dependencies. This 
> part is:
> 
> (.)
> directory upftools : ok
> Cannot open ../iotk/src/iotk_attr+COMP: No such file or directory
> pw_export.o : @iotk_module@
> WARNING: dependencies not found in directory PP
> Cannot open ../iotk/src/iotk_at: No such file or directory
> directory PWCOND : ok
> Cannot open ../iotk/src/iotk: No such file or directory
> directory Gamma : ok
> (.)
> 
> otherwise, at the end it says "configure: success". But I'm afraid 
> something is not runnig well; in particular it seems as if there was 
> string truncation in some places, so before going into make all I wish to 
> ask the experts whether something should be modified in configure or 
> in some of the shell scripts launched by it.
> 
> Thanks in advance,
> 
> 
> 
> 
> Jose C. Conesa
> Instituto de Catalisis y Petroleoquimica, CSIC
> Campus de Cantoblanco
> 28049 Madrid  -  Spain
> Phone Nr. 34-91-5854766
> Fax Nr. 34-91-5854760
> 
> ___
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum
> 



[Pw_forum] compilation in SGI

2006-05-23 Thread José C. Conesa
Hi,
I try to compile espresso 3.1 in a SGI Origin 200 system . When 
running configure there appear in the screen some error messages 
within the part of the output related to checking dependencies. This 
part is:

(.)
directory upftools : ok
Cannot open ../iotk/src/iotk_attr+COMP: No such file or directory
pw_export.o : @iotk_module@
WARNING: dependencies not found in directory PP
Cannot open ../iotk/src/iotk_at: No such file or directory
directory PWCOND : ok
Cannot open ../iotk/src/iotk: No such file or directory
directory Gamma : ok
(.)

otherwise, at the end it says "configure: success". But I'm afraid 
something is not runnig well; in particular it seems as if there was 
string truncation in some places, so before going into make all I wish to 
ask the experts whether something should be modified in configure or 
in some of the shell scripts launched by it.

Thanks in advance,




Jose C. Conesa
Instituto de Catalisis y Petroleoquimica, CSIC
Campus de Cantoblanco
28049 Madrid  -  Spain
Phone Nr. 34-91-5854766
Fax Nr. 34-91-5854760




[Pw_forum] compilation in SGI

2006-02-14 Thread Paolo Giannozzi
On Monday 13 February 2006 19:27, Miguel A. Salvad? wrote:

> Below are the steps I needed to follow in order to compile PW in a SGI
> Origin with MIPSpro Fortran 90 7.41 compiler. Perhaps it can be useful to
> other users
> [...]. 
> 4) Edit Modules/path_reparametrisation.f90 and replace the two lines 
> "USE input_parameters, ONLY : num_of_images_inp => num_of_images" by only
> one identical line before the CONTAINS statement.

looks like a compiler bug to me. The other problems should already be
fixed in the CVS version. Thank you

Paolo
-- 
Paolo Giannozzi e-mail:  giannozz at nest.sns.it
Scuola Normale SuperiorePhone:   +39/050-509876, Fax:-563513 
Piazza dei Cavalieri 7  I-56126 Pisa, Italy



[Pw_forum] compilation in SGI

2006-02-13 Thread Miguel A. Salvadó
Hi PW users:

Below are the steps I needed to follow in order to compile PW in a SGI
Origin with MIPSpro Fortran 90 7.41 compiler. Perhaps it can be useful to
other users.  
1) Run ./configure
2) Edit make.sys and replace "-cpp" with "-ftpp -macro_expand" in F90FLAGS
and F90FLAGS_NOOPT
3) Edit iotk/include/iotk_config.h and replace "warn" by "error" in Line 84.
4) Edit Modules/path_reparametrisation.f90 and replace the two lines "USE
input_parameters, ONLY : num_of_images_inp => num_of_images" by only one
identical line before the CONTAINS statement.
5) make pw

Best wishes,

Miguel


Miguel A. Salvad?
Dpto. Quimica Fisica y Analitica
Universidad de Oviedo
Spain

-Mensaje original-
De: pw_forum-admin at pwscf.org [mailto:pw_forum-admin at pwscf.org] En nombre 
de
Paolo Giannozzi
Enviado el: viernes, 10 de febrero de 2006 15:09
Para: pw_forum at pwscf.org
Asunto: Re: [Pw_forum] compilation in SGI

On Friday 10 February 2006 10:18, Miguel A. Salvad? wrote:

> I have tried to compile PWSCF 3.0 in a SGI Origin 3800 IRIX 6.5 machine
> and obtain the following error messages immediately after I do make all.

Giovanni Bussi, the author of iotk, says that it works if you replace
the compiler flag "-cpp" with "-ftpp -macro_expand" . You can make
the change directly in the make.sys file, or you can try an updated
"configure" from here: http://web1.sns.it/~giannozz/public/configure

Paolo
-- 
Paolo Giannozzi e-mail:  giannozz at nest.sns.it
Scuola Normale SuperiorePhone:   +39/050-509876, Fax:-563513 
Piazza dei Cavalieri 7  I-56126 Pisa, Italy
___
Pw_forum mailing list
Pw_forum at pwscf.org
http://www.democritos.it/mailman/listinfo/pw_forum




[Pw_forum] compilation in SGI

2006-02-10 Thread Lucas Fernandez Seivane
Sorry, I just took the emails the wrong way



[Pw_forum] compilation in SGI

2006-02-10 Thread Lucas Fernandez Seivane
Hola Miguel

Si te puedo ayudar en algo no dudes en preguntarme, aunque b?sicamente
yo s?lo lo he compilado en PCs

Un saludo
###
# Ph.D. Student Lucas Fern?ndez Seivane  Tlf: (+34) 985 102946 #
# Departamento de Fisica, Facultad de Ciencias   Fax: (+34) 985 102952 #
# Universidad de Oviedo  Cell:(+34) 645 227396 #
# 33007 Oviedo (Asturias) - Spain  #
###

On 2/10/06, Miguel A. Salvad?  wrote:
>
>
> Dear PWSCF users:
>
> > I have tried to compile PWSCF 3.0 in a SGI Origin 3800 IRIX 6.5 machine and
> obtain the following error messages immediately after I do make all.
>
> Any suggestion will be welcome.
>
>
>
> Thanks in advance and best wishes,
>
>
>
> Miguel
>
>
>
> Miguel A. Salvad?
>
> Dpto. Quimica Fisica y Analitica
>
> Universidad de Oviedo
>
> Spain
>
>
>
>
>
> % make all
>
> test -d bin || mkdir bin
>
> if test -d iotk ; then \
>
> ( cd iotk ; if test "make" = "" ; then make  TLDEPS= libiotk.a ; \
>
> else make  TLDEPS= libiotk.a ; fi ) ; fi
>
> cd src ; make libiotk.a
>
> f90 -mips4 -64 -O2 -r1 -r8 -cpp -D__SGI -D__SGI64 -D__ORIGIN
> -D__FFT
>
> W -D__MPI -D__PARA -I../include -I/usr/local/include -I. -I../Modules
> -I../PW -I
>
> ../PH -I../iotk/src -c iotk_base.f90
>
>
>
> save
>
>^
>
> f90-855 f90: ERROR IOTK_BASE, File = iotk_base.f90, Line = 33, Column = 8
>
>   The compiler has detected errors in mo
>
>  file will be created for this module.
>
>
>
> !---
>
>^
>
>
>
> f90-197 f90: ERROR IOTK_BASE, File = iotk_base.f90, Line = 55, Column = 40
>
>   Unexpected syntax: "operand" was expected but found "_".
>
>
>
>
>
>^
>
> f90-197 f90: ERROR IOTK_BASE, File = iotk_base.f90, Line = 56, Column = 40
>
>   Unexpected syntax: "operand" was expected but found "_".
>
>
>
> f90: SGI MIPSpro Fortran 90 Version 7.41 (f14) Fri Feb 10, 2006  10:12:01
>
> f90: 209 source lines
>
> f90: 3 Error(s), 0 Warning(s), 0 Other message(s), 0 ANSI(s)
>
> cf90: "explain cf90-message number" gives more information about each
> message
>
> *** Error code 2 (bu21)
>
> *** Error code 1 (bu21)
>
> *** Error code 1 (bu21)



[Pw_forum] compilation in SGI

2006-02-10 Thread Paolo Giannozzi
On Friday 10 February 2006 10:18, Miguel A. Salvad? wrote:

> I have tried to compile PWSCF 3.0 in a SGI Origin 3800 IRIX 6.5 machine
> and obtain the following error messages immediately after I do make all.

Giovanni Bussi, the author of iotk, says that it works if you replace
the compiler flag "-cpp" with "-ftpp -macro_expand" . You can make
the change directly in the make.sys file, or you can try an updated
"configure" from here: http://web1.sns.it/~giannozz/public/configure

Paolo
-- 
Paolo Giannozzi e-mail:  giannozz at nest.sns.it
Scuola Normale SuperiorePhone:   +39/050-509876, Fax:-563513 
Piazza dei Cavalieri 7  I-56126 Pisa, Italy



[Pw_forum] compilation in SGI

2006-02-10 Thread Miguel A. Salvadó
Dear PWSCF users:

 

I have tried to compile PWSCF 3.0 in a SGI Origin 3800 IRIX 6.5 machine and
obtain the following error messages immediately after I do make all.

Any suggestion will be welcome.

 

Thanks in advance and best wishes,

 

Miguel

 

Miguel A. Salvad?

Dpto. Quimica Fisica y Analitica

Universidad de Oviedo

Spain

 

 

% make all

test -d bin || mkdir bin

if test -d iotk ; then \

( cd iotk ; if test "make" = "" ; then make  TLDEPS= libiotk.a ; \

else make  TLDEPS= libiotk.a ; fi ) ; fi

cd src ; make libiotk.a

f90 -mips4 -64 -O2 -r1 -r8 -cpp -D__SGI -D__SGI64 -D__ORIGIN
-D__FFT

W -D__MPI -D__PARA -I../include -I/usr/local/include -I. -I../Modules
-I../PW -I

../PH -I../iotk/src -c iotk_base.f90

 

save

   ^

f90-855 f90: ERROR IOTK_BASE, File = iotk_base.f90, Line = 33, Column = 8

  The compiler has detected errors in mo

 file will be created for this module.

 

!---

   ^

 

f90-197 f90: ERROR IOTK_BASE, File = iotk_base.f90, Line = 55, Column = 40

  Unexpected syntax: "operand" was expected but found "_".

 

 

   ^

f90-197 f90: ERROR IOTK_BASE, File = iotk_base.f90, Line = 56, Column = 40

  Unexpected syntax: "operand" was expected but found "_".

 

f90: SGI MIPSpro Fortran 90 Version 7.41 (f14) Fri Feb 10, 2006  10:12:01

f90: 209 source lines

f90: 3 Error(s), 0 Warning(s), 0 Other message(s), 0 ANSI(s)

cf90: "explain cf90-message number" gives more information about each
message

*** Error code 2 (bu21)

*** Error code 1 (bu21)

*** Error code 1 (bu21)

-- next part --
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20060210/04c33d04/attachment.htm