Re: [OMPI devel] suffix flag problems
Jeff Squyres wrote: Excellent suggestion; thanks Paul! You are welcome. My presence on the ompi-devel list isn't totally passive. :-) I've incorporated this into OMPI -- Paul, can you confirm that I obeyed the license requirements properly? IANAL, but looks all proper to me. May I suggest that "Portions of this file derived from GASNet v1.12" might be clarified to indicate what portion(s). Otherwise projects that "derive" from OMPI's configure might be expected to acknowledge GASNet simply because they cannot distinguish the origin of whatever they borrow from OMPI. [discussion of viral license terms omitted]. -Paul https://svn.open-mpi.org/trac/ompi/changeset/21943 On Sep 4, 2009, at 9:01 PM, Paul H. Hargrove wrote: Jeff Squyres wrote: > On Sep 4, 2009, at 7:13 AM, David Robertson wrote: >> Perhaps it should be taken out of the help message in the configure >> script then. > We can't; it's part of the built-in Autoconf options. :-( On can't disable the option, but one can prevent confusing the user by (partially) igonoring it. In GASNet we dealt with this problem by detecting that the prefix, suffix or transform options had been given and generate an error message telling the user: This configure script does not support --program-prefix, --program-suffix or --program-transform-name. Users are recommended to instead use --prefix with a unique directory and make symbolic links as desired for renaming. GASNet is BSD licensed and available at http://gasnet.cs.berkeley.edu/#download The autoconf macro in question is GASNET_FORBID_PROGRAM_TRANSFORM and is located in acinclude.m4 -Paul -- Paul H. Hargrove phhargr...@lbl.gov Future Technologies Group Tel: +1-510-495-2352 HPC Research Department Fax: +1-510-486-6900 Lawrence Berkeley National Laboratory ___ devel mailing list de...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/devel -- Paul H. Hargrove phhargr...@lbl.gov Future Technologies Group Tel: +1-510-495-2352 HPC Research Department Fax: +1-510-486-6900 Lawrence Berkeley National Laboratory
Re: [OMPI devel] suffix flag problems
Excellent suggestion; thanks Paul! I've incorporated this into OMPI -- Paul, can you confirm that I obeyed the license requirements properly? https://svn.open-mpi.org/trac/ompi/changeset/21943 On Sep 4, 2009, at 9:01 PM, Paul H. Hargrove wrote: Jeff Squyres wrote: > On Sep 4, 2009, at 7:13 AM, David Robertson wrote: >> Perhaps it should be taken out of the help message in the configure >> script then. > We can't; it's part of the built-in Autoconf options. :-( On can't disable the option, but one can prevent confusing the user by (partially) igonoring it. In GASNet we dealt with this problem by detecting that the prefix, suffix or transform options had been given and generate an error message telling the user: This configure script does not support --program-prefix, --program-suffix or --program-transform-name. Users are recommended to instead use --prefix with a unique directory and make symbolic links as desired for renaming. GASNet is BSD licensed and available at http://gasnet.cs.berkeley.edu/#download The autoconf macro in question is GASNET_FORBID_PROGRAM_TRANSFORM and is located in acinclude.m4 -Paul -- Paul H. Hargrove phhargr...@lbl.gov Future Technologies Group Tel: +1-510-495-2352 HPC Research Department Fax: +1-510-486-6900 Lawrence Berkeley National Laboratory ___ devel mailing list de...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/devel -- Jeff Squyres jsquy...@cisco.com
Re: [OMPI devel] suffix flag problems
Jeff Squyres wrote: On Sep 4, 2009, at 7:13 AM, David Robertson wrote: Perhaps it should be taken out of the help message in the configure script then. We can't; it's part of the built-in Autoconf options. :-( On can't disable the option, but one can prevent confusing the user by (partially) igonoring it. In GASNet we dealt with this problem by detecting that the prefix, suffix or transform options had been given and generate an error message telling the user: This configure script does not support --program-prefix, --program-suffix or --program-transform-name. Users are recommended to instead use --prefix with a unique directory and make symbolic links as desired for renaming. GASNet is BSD licensed and available at http://gasnet.cs.berkeley.edu/#download The autoconf macro in question is GASNET_FORBID_PROGRAM_TRANSFORM and is located in acinclude.m4 -Paul -- Paul H. Hargrove phhargr...@lbl.gov Future Technologies Group Tel: +1-510-495-2352 HPC Research Department Fax: +1-510-486-6900 Lawrence Berkeley National Laboratory
Re: [OMPI devel] suffix flag problems
On Sep 4, 2009, at 7:13 AM, David Robertson wrote: Perhaps it should be taken out of the help message in the configure script then. We can't; it's part of the built-in Autoconf options. :-( -- Jeff Squyres jsquy...@cisco.com
Re: [OMPI devel] suffix flag problems
Perhaps it should be taken out of the help message in the configure script then. Dave Jeff Squyres wrote: On Sep 3, 2009, at 9:55 PM, David Robertson wrote: We use both the PGI and Intel compilers over an Infiniband cluster and I was trying to find a way to have both orteruns in the path (in separate directories) at the same time. I decided to use the --program-suffix option. However, all the symlinks in the resulting bin directory point to executables without the suffix. i.e. mpirun points to orterun when it should point to orterun-pgi. I don't know if the suffixes need to be added in other places as well. Unfortunately, --program-suffix is not supported by Open MPI at this time (due to mundane, yet surprisingly complex, implementation issues). Sorry! :-(
Re: [OMPI devel] suffix flag problems
On Sep 3, 2009, at 9:55 PM, David Robertson wrote: We use both the PGI and Intel compilers over an Infiniband cluster and I was trying to find a way to have both orteruns in the path (in separate directories) at the same time. I decided to use the --program-suffix option. However, all the symlinks in the resulting bin directory point to executables without the suffix. i.e. mpirun points to orterun when it should point to orterun-pgi. I don't know if the suffixes need to be added in other places as well. Unfortunately, --program-suffix is not supported by Open MPI at this time (due to mundane, yet surprisingly complex, implementation issues). Sorry! :-( -- Jeff Squyres jsquy...@cisco.com
Re: [OMPI devel] suffix flag problems
- "David Robertson"wrote: > Hi all, Hiya, > We use both the PGI and Intel compilers over an > Infiniband cluster and I was trying to find a way > to have both orteruns in the path (in separate > directories) at the same time. Not a solution, but what we do here is to arrange our installs into separate locations thus: /usr/local/openmpi-gcc/$version /usr/local/openmpi-intel/$version /usr/local/openmpi-pgi/$version and then use Modules (modules.sf.net) to let users easily select which they want to use, so to load the default OMPI for the Intel compilers they do: module load openmpi-intel We use symlinks for the module files to a generic one which uses some lrange and split in tcl to derive the application and compiler from the name of the module and loads the compiler module if it's not already been loaded. Users load a "vpac" module from their profile/cshrc at login time and that pulls in our suggested defaults for that cluster. Makes life a lot easier for our users (and us!). cheers, Chris -- Christopher Samuel - (03) 9925 4751 - Systems Manager The Victorian Partnership for Advanced Computing P.O. Box 201, Carlton South, VIC 3053, Australia VPAC is a not-for-profit Registered Research Agency