Hi, I was installing Darshan on a system with Intel MPI and was wanting to build the compiler wrappers with the darshan-gen-cc.pl, etc... files. However, if I try to run: ./darshan-gen-cc.pl /opt/intel/compilers_and_libraries_2019.3.199/linux/mpi/intel64/bin/mpicc --output mpicc.darshan I just get: Error: faulty output from /opt/intel/compilers_and_libraries_2019.3.199/linux/mpi/intel64/bin/mpicc with -show. Am I doing something wrong? cheers adrianj -- Tel: +44 131 6506470 skype: remoteadrianj The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
Hi Adrian, Unfortunately the compiler wrappers will only work for MPICH and it's variants. Are you using Darshan 3.2.1? Intel's MPI most likely produces dynamically-linked executables by default. So broadly speaking, there are going to be two options to get things working. The first is to get the Darshan linker options displayed by `darshan-config --dyn-ld-flags` added to your link line, either explicitly, or by finding a way to add them implicitly (as the auto-generated MPICH wrappers would have done). The second optoin would be to leave the compilation unmodified and instead instrument with Darshan at runtime by LD_PRELOAD'ing libdarshan.so when the executable is run. There is a little bit of information about each approach available here: https://www.mcs.anl.gov/research/projects/darshan/docs/darshan-runtime.html#... https://www.mcs.anl.gov/research/projects/darshan/docs/darshan-runtime.html#... ... but we don't have an exact recipe for how to do this on Intel MPI. If you have suggestions for how to pull this off (particularly option 1) it would be a good addition to our official documentation. I think we have access to Intel MPI on some systems here at ANL to help test, but we don't have much expertise with it yet. thanks, -Phil ________________________________ From: Darshan-users <[email protected]> on behalf of Adrian Jackson <[email protected]> Sent: Friday, June 19, 2020 1:49 PM To: [email protected] <[email protected]> Subject: [Darshan-users] darshan compiler wrappers Hi, I was installing Darshan on a system with Intel MPI and was wanting to build the compiler wrappers with the darshan-gen-cc.pl, etc... files. However, if I try to run: ./darshan-gen-cc.pl /opt/intel/compilers_and_libraries_2019.3.199/linux/mpi/intel64/bin/mpicc --output mpicc.darshan I just get: Error: faulty output from /opt/intel/compilers_and_libraries_2019.3.199/linux/mpi/intel64/bin/mpicc with -show. Am I doing something wrong? cheers adrianj -- Tel: +44 131 6506470 skype: remoteadrianj The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. _______________________________________________ Darshan-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/darshan-users
Hi Phil, Thanks for the reply. Yes, 3.2.1, understood (although Intel MPI is MPICH based so I'll have a look and seeing if I can get the compiler wrapers to work). We can go the dynamic route for now. cheers adrianj On 22/06/2020 21:57, Carns, Philip H. wrote:
Hi Adrian,
Unfortunately the compiler wrappers will only work for MPICH and it's variants.
Are you using Darshan 3.2.1?
Intel's MPI most likely produces dynamically-linked executables by default.� So broadly speaking, there are going to be two options to get things working.� The first is to get the Darshan linker options displayed by `darshan-config --dyn-ld-flags` added to your link line, either explicitly, or by finding a way to add them implicitly (as the auto-generated MPICH wrappers would have done).
The second optoin would be to leave the compilation unmodified and instead instrument with Darshan at runtime by LD_PRELOAD'ing libdarshan.so when the executable is run.
There is a little bit of information about each approach available here:
https://www.mcs.anl.gov/research/projects/darshan/docs/darshan-runtime.html#...
https://www.mcs.anl.gov/research/projects/darshan/docs/darshan-runtime.html#...
... but we don't have an exact recipe for how to do this on Intel MPI.� If you have suggestions for how to pull this off (particularly option 1) it would be a good addition to our official documentation.� I think we have access to Intel MPI on some systems here at ANL to help test, but we don't have much expertise with it yet.
thanks, -Phil ------------------------------------------------------------------------ *From:* Darshan-users <[email protected]> on behalf of Adrian Jackson <[email protected]> *Sent:* Friday, June 19, 2020 1:49 PM *To:* [email protected] <[email protected]> *Subject:* [Darshan-users] darshan compiler wrappers � Hi,
I was installing Darshan on a system with Intel MPI and was wanting to build the compiler wrappers with the darshan-gen-cc.pl, etc... files. However, if I try to run:
�./darshan-gen-cc.pl /opt/intel/compilers_and_libraries_2019.3.199/linux/mpi/intel64/bin/mpicc --output mpicc.darshan
I just get:
Error: faulty output from /opt/intel/compilers_and_libraries_2019.3.199/linux/mpi/intel64/bin/mpicc with -show.
Am I doing something wrong?
cheers
adrianj -- Tel: +44 131 6506470 skype: remoteadrianj The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. _______________________________________________ Darshan-users mailing list [email protected] https://lists.mcs.anl.gov/mailman/listinfo/darshan-users
-- Tel: +44 131 6506470 skype: remoteadrianj
participants (2)
-
Adrian Jackson -
Carns, Philip H.