[Pw_forum] compiling w/ PathScale on Opteron

Paolo Giannozzi giannozz at nest.sns.it
Fri Apr 23 18:22:14 CEST 2004


On Friday 23 April 2004 14:47, Eros Albertazzi wrote:

> I got PathScale compilers and I tried to compile pw on an Opteron pc
> but I ended up with undefined references [...]
> : undefined reference to `c_mkdir__'
> : undefined reference to `ln_alloc__'
> : undefined reference to `ln_set__'
> : undefined reference to `ln_activate__'
> : undefined reference to `destroy_plan_1d__'

these are C routines that are subject to the usual problem of added
underscores. Look into clib/cp.h and choose the appropriate
option instead of __PGI - i.e. the one that adds the right number of
underscores: try with one.

Paolo

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




More information about the users mailing list