This web mail archive is frozen.
This page is part of a frozen web archive of this mailing list.
You can still navigate around this archive, but know that no new mails
have been added to it since July of 2016.
Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.
I'm trying to set up a ROCKS cluster (CentOS 4.5) with OpenMPI and
GCC, PGI, and Intel compilers. My understanding is that OpenMPI must
be compiled with each compiler. The result (or at least, the runtime
libs) must be in .rpm format, as that is required by ROCKS compute
node deployment system. I am also using environment modules to manage
users' environment and selecting which version of OpenMPI/compiler.
I have some questions, though.
1) am I correct in that OpenMPI needs to be complied with each
compiler that will be used with it?
I am currently trying to make rpms using the included .spec file
2) How do I use it to build against different compilers and end up
with non-colliding namespaces, etc?
I am currently using the following command line:
rpmbuild -bb --define 'install_in_opt 1' --define 'install_modulefile
1' --define 'build_all_in_one_rpm 0' --define 'configure_options
I am currently concerned with differentiating same version compiled
with different compilers. I origionally changed the name (--define
'_name openmpi-gcc'), but this broke the final phases of rpm building:
RPM build errors:
File not found:
I tried changing the version with "gcc" appended, but that also broke,
and as I thought about it more, I thought that would likely induce
headaches later with rpm only letting one version installed, etc.
3) Will the resulting -runtime .rpms (for the different compiler
versions) coexist peacefully without any special environment munging
on the compute nodes, or do I need modules, etc. on all the compute
nodes as well?
4) I've never really used pgi or intel's compiler. I saw notes in the
rpm about build flag problems and "use your normal optimizations and
flags", etc. As I have no concept of "normal" for these compilers,
are there any guides or examples I should/could use for this?
And of course, I'd be grateful for any hints/tricks/etc that I didn't
ask for, as I probably still don't fully know what I'm getting into
here....there's a lot of firsts here....