[Pw_forum] compiliation error

Hong, SamPyo likedew at phys.ksu.edu
Thu Mar 13 06:14:02 CET 2003


Thanks, Paolo, it worked !

Sampyo

-----Original Message-----
From: Paolo Giannozzi [mailto:giannozz at nest.sns.it] 
Sent: Wednesday, March 12, 2003 4:11 PM
To: pw_forum at pwscf.org
Subject: Re: [Pw_forum] compiliation error


Hi

> [jakec at nodeserver pw90]$ mpirun  -np 3 ./bin/pw.x
> GETARG: not enough space to hold the 2 argument

funny, there shoudn't be any argument 2. Try 
"mpirun  -np 3 ./bin/pw.x -npool 1". If it doesn't 
work: print the value of variable "nargs = iargc ()"
in PW/startup.f90, print what "getarg" returns for
the various arguments, change the routine
accordingly. The present mechanism should 
capture the number after -npool in a command 
line like "mpirun  -np 8 ./bin/pw.x -npool 4".
4 should be argument number 2 for "getarg", 
but maybe it is not for your cluster.

> Input/Output Error 148: Invalid character
>
>    In Procedure: startup
>         At Line: 89
>
>       Statement: Formatted READ
>            Unit: Internal File
>   Record Number: 1

this is the code trying to read a number from a string containing
garbage, or unexpected stuff. 

Paolo

-- 
Paolo Giannozzi             e-mail:  giannozz at nest.sns.it
Scuola Normale Superiore    Phone:   +39/050509412
Piazza dei Cavalieri 7      Fax:     +39/050509417, 050563513     
I-56126 Pisa, Italy         Office:  Lab. NEST, Via della Faggiola 19

_______________________________________________
Pw_forum mailing list
Pw_forum at pwscf.org http://www.democritos.it/mailman/listinfo/pw_forum



More information about the users mailing list