From: Rick K. <rk...@nc...> - 2004-08-24 18:24:55
|
On Tue, 24 Aug 2004, Venkatesh, Vangal wrote: > Rick, > May I ask how to build perfsuite with intel compilers? I think I am > going to get lot of incompatibilities since Fortran compilers are not > compatible. > > Vangal > Vangal, Certainly, that's a good question. We use Intel compilers all the time here (almost exclusively on IA-64 systems). The issue is not so much whether PerfSuite is compiled by the Intel compiler (as far as I know, it can't be because of asm statements), but whether it follows the same name mangling convention (C/Fortran, I mean). That's necessary to be able to link if you're using the Fortran API. The thing to do is to set F77=ifc (or efc) on the "configure" line when you build PerfSuite - it should then follow the ifc naming convention for the versions of the API routines that are for Fortran. We generally build both g77 and Intel versions of the libraries and separate the two by using the configure option "--libdir=<dir>" option to specify a particular destination directory for the Intel-compatible version of the library (e.g., /opt/perfsuite/lib/intel). That takes two configures and builds - one with g77, the other with ifc/efc. For both versions, gcc is the primary compiler for PerfSuite. Please let me know if this is not clear or if you run into any problems. Rick p.s. I have been looking into the ch_p4 issue you mentioned and it does seem that the problem is that the commands constructed and executed when using MPICH ch_p4 are different that what is supplied to mpirun. MPI_Init sets things back in order, but that's after psrun has had its chance to do its job (the command line given to psrun does not appear to contain the name of the executable that's to be measured). Still looking into possible solutions. |