[Wien] Compilation: how to specify a path to mpif.h?

2008-10-10 Thread Yurko Natanzon
Dear Robert and Laurence, Thank you for your advice, it did help. Now I have another question, let me post it here. I've successfully compiled lapw0 and lapw2 in parallel, but still have problems with lapw1 on the link stage: make PARALLEL='-DParallel' TYPE='REAL' TYPE_COMMENT='\!_REAL' \

[Wien] Compilation: how to specify a path to mpif.h?

2008-10-10 Thread Laurence Marks
What you want to do for a problem such as this is use google (or some other search engine), then follow the path of links for an answer. A google search on blacs_gridinfo for instance will show that this is a scalapack routine (google scalapack as well if needed). This is a set of routines that

[Wien] Compilation: how to specify a path to mpif.h?

2008-10-08 Thread Yurko Natanzon
Dear wien2k users, I've successfully compiled Wien2k and now want to recompile it for parallel execution. I have everything required for this (mpich, scalapack). It seems, only lapw0, lapw1 and lapw2 should be recompiled, yes? So, I get the errors like this: PGF90-S-0017-Unable to open include

[Wien] Compilation: how to specify a path to mpif.h?

2008-10-08 Thread Laurence Marks
Normally one uses mpif77 as the compiler, which should be setup correctly for your pgf compiler with all the various paths of libraries and include files. Look in (probably) /opt/mpich/pgi64/ch_p4/bin . You may need to include this in your search path, and you should check that you have done the