[Pw_forum] compiliation error

Paolo Giannozzi giannozz at nest.sns.it
Wed Mar 12 23:11:08 CET 2003


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




More information about the users mailing list