[OMPI users] Problem specifying compiler (pgi)

2009-09-04 Thread Ben Mayer
I am using PGI 9.0-1 to compile OpenMPI 1.3.3. I use the following  
command to configure OpenMPI:


./configure CC=pgcc CXX=pgCC FC=pgf90 F90=pgf90 --prefix=/shared/ben/ 
openmpi-1.3.3


The PGI compilers are in the path. The make and make install complete  
successfully. The problem that I am having is that why I actually run  
mpif90 (or any of other mpi* executables) it returns a message like  
"gfortran: no input files". When I compiler when those files it is  
calling gcc compilers. There is also some vt* files (vtf90, etc) which  
appear to be for VampirTrace integration. They point to the proper pgi  
compilers.


Any idea what is going on here and how to fix it?

Thank you,

Ben Mayer





[OMPI users] error compiling OpenMPI 1.3.3 with Intel compiler suite 11.1 on Linux

2009-09-04 Thread Greg Fischer
I'm attempting to compile OpenMPI version 1.3.3 with Intel C/C++/Fortran
version 11.1.046.  Others have reported success using these compilers (
http://software.intel.com/en-us/forums/intel-c-compiler/topic/68111/).  The
line where compilation fails is included at the end of this message.  I have
also attached complete "./configure" and "make" outputs.  Does anyone have
any insight as to what I'm doing wrong?

Thanks,
Greg

icpc11.1 -DHAVE_CONFIG_H -I. -I../../../opal/include -I../../../orte/include
-I../../../ompi/include
-I../../../opal/mca/paffinity/linux/plpa/src/libplpa
-DOMPI_CONFIGURE_USER="\"fischega\"" -DOMPI_CONFIGURE_HOST="\"susedev1\""
-DOMPI_CONFIGURE_DATE="\"Fri Sep  4 09:53:03 EDT 2009\""
-DOMPI_BUILD_USER="\"$USER\"" -DOMPI_BUILD_HOST="\"`hostname`\""
-DOMPI_BUILD_DATE="\"`date`\"" -DOMPI_BUILD_CFLAGS="\"-O3 -DNDEBUG
-finline-functions -fno-strict-aliasing -restrict -pthread
-fvisibility=hidden\"" -DOMPI_BUILD_CPPFLAGS="\"-I../../..  \""
-DOMPI_BUILD_CXXFLAGS="\"-O3 -DNDEBUG -finline-functions -pthread\""
-DOMPI_BUILD_CXXCPPFLAGS="\"-I../../..  \"" -DOMPI_BUILD_FFLAGS="\"\""
-DOMPI_BUILD_FCFLAGS="\"\"" -DOMPI_BUILD_LDFLAGS="\"-export-dynamic  \""
-DOMPI_BUILD_LIBS="\"-lnsl -lutil  \""
-DOMPI_CC_ABSOLUTE="\"/usr/scripts/icc11.1\""
-DOMPI_CXX_ABSOLUTE="\"/usr/scripts/icpc11.1\""
-DOMPI_F77_ABSOLUTE="\"/usr/scripts/ifort11.1\""
-DOMPI_F90_ABSOLUTE="\"/usr/scripts/ifort11.1\""
-DOMPI_F90_BUILD_SIZE="\"small\"" -I../../..-O3 -DNDEBUG
-finline-functions -pthread -MT components.o -MD -MP -MF $depbase.Tpo -c -o
components.o components.cc &&\
mv -f $depbase.Tpo $depbase.Po
icpc: error #10236: File not found:  'Sep'
icpc: error #10236: File not found:  '4'
icpc: error #10236: File not found:  '09:53:03'
icpc: error #10236: File not found:  'EDT'
icpc: error #10236: File not found:  '2009"'
icpc: error #10236: File not found:  'Sep'
icpc: error #10236: File not found:  '4'
icpc: error #10236: File not found:  '10:11:04'
icpc: error #10236: File not found:  'EDT'
icpc: error #10236: File not found:  '2009"'
icpc: command line warning #10159: invalid argument for option
'-fvisibility'
icpc: error #10236: File not found:  '"'
icpc: command line warning #10156: ignoring option '-p'; no argument
required
icpc: error #10236: File not found:  '"'
icpc: error #10236: File not found:  '"'
icpc: error #10236: File not found:  '"'
make[2]: *** [components.o] Error 1
make[2]: Leaving directory
`/home/fischega/src/openmpi-1.3.3/ompi/tools/ompi_info'


ompi-output.tar.bz2
Description: BZip2 compressed data


Re: [OMPI users] Problem specifying compiler (pgi)

2009-09-04 Thread Ben Mayer
I have received two private emails saying to check my PATH and  
LD_LIBRARY_PATH.


The path is OK and I am using the full pathname to make sure I get the  
right exe. I also checked the LD_LIBRARY_PATH and that appears to be OK.




On Sep 4, 2009, at 7:28 AM, Ben Mayer wrote:

I am using PGI 9.0-1 to compile OpenMPI 1.3.3. I use the following  
command to configure OpenMPI:


./configure CC=pgcc CXX=pgCC FC=pgf90 F90=pgf90 --prefix=/shared/ben/ 
openmpi-1.3.3


The PGI compilers are in the path. The make and make install  
complete successfully. The problem that I am having is that why I  
actually run mpif90 (or any of other mpi* executables) it returns a  
message like "gfortran: no input files". When I compiler when those  
files it is calling gcc compilers. There is also some vt* files  
(vtf90, etc) which appear to be for VampirTrace integration. They  
point to the proper pgi compilers.


Any idea what is going on here and how to fix it?

Thank you,

Ben Mayer



___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users




Re: [OMPI users] Problem specifying compiler (pgi)

2009-09-04 Thread Gus Correa

Hi Ben

Is it a possible problem with your PATH?

Very often Linux distributions (I suppose it is Linux, but maybe not)
have several MPI versions, plus others that may come with compilers,
etc, and their order on your path may not be what you want.

What do "which mpif90" and "which mpiexec" tell?

Have you tried to use full path names to mpif90
*and* to mpiexec/mpirun ?

/shared/ben/openmpi-1.3.3/bin/mpif90,
/shared/ben/openmpi-1.3.3/bin/mpiexec

My $0.02

Gus Correa
-
Gustavo Correa
Lamont-Doherty Earth Observatory - Columbia University
Palisades, NY, 10964-8000 - USA
-

Ben Mayer wrote:
I am using PGI 9.0-1 to compile OpenMPI 1.3.3. I use the following 
command to configure OpenMPI:


./configure CC=pgcc CXX=pgCC FC=pgf90 F90=pgf90 
--prefix=/shared/ben/openmpi-1.3.3


The PGI compilers are in the path. The make and make install complete 
successfully. The problem that I am having is that why I actually run 
mpif90 (or any of other mpi* executables) it returns a message like 
"gfortran: no input files". When I compiler when those files it is 
calling gcc compilers. There is also some vt* files (vtf90, etc) which 
appear to be for VampirTrace integration. They point to the proper pgi 
compilers.


Any idea what is going on here and how to fix it?

Thank you,

Ben Mayer







___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users




Re: [OMPI users] Problem specifying compiler (pgi)

2009-09-04 Thread Gus Correa

Hi Ben

My recollection is that similar problems were reported here
when there was some residual of a previous build
(perhaps with gfortran), which was not completely
cleaned up, when the current build was compiled.

Have you tried to start fresh from the tarball using PGI only?

Gus Correa
-
Gustavo Correa
Lamont-Doherty Earth Observatory - Columbia University
Palisades, NY, 10964-8000 - USA
-


Ben Mayer wrote:
I have received two private emails saying to check my PATH and 
LD_LIBRARY_PATH. 

The path is OK and I am using the full pathname to make sure I get the 
right exe. I also checked the LD_LIBRARY_PATH and that appears to be OK.




On Sep 4, 2009, at 7:28 AM, Ben Mayer wrote:

I am using PGI 9.0-1 to compile OpenMPI 1.3.3. I use the following 
command to configure OpenMPI:


./configure CC=pgcc CXX=pgCC FC=pgf90 F90=pgf90 
--prefix=/shared/ben/openmpi-1.3.3


The PGI compilers are in the path. The make and make install complete 
successfully. The problem that I am having is that why I actually run 
mpif90 (or any of other mpi* executables) it returns a message like 
"gfortran: no input files". When I compiler when those files it is 
calling gcc compilers. There is also some vt* files (vtf90, etc) which 
appear to be for VampirTrace integration. They point to the proper pgi 
compilers.


Any idea what is going on here and how to fix it?

Thank you,

Ben Mayer




___
users mailing list
us...@open-mpi.org 
http://www.open-mpi.org/mailman/listinfo.cgi/users





___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users




Re: [OMPI users] Problem specifying compiler (pgi)

2009-09-04 Thread Ben Mayer

Good idea. I have tried it twice.


On Sep 4, 2009, at 9:33 AM, Gus Correa wrote:


Hi Ben

My recollection is that similar problems were reported here
when there was some residual of a previous build
(perhaps with gfortran), which was not completely
cleaned up, when the current build was compiled.

Have you tried to start fresh from the tarball using PGI only?

Gus Correa
-
Gustavo Correa
Lamont-Doherty Earth Observatory - Columbia University
Palisades, NY, 10964-8000 - USA
-


Ben Mayer wrote:
I have received two private emails saying to check my PATH and  
LD_LIBRARY_PATH. The path is OK and I am using the full pathname to  
make sure I get the right exe. I also checked the LD_LIBRARY_PATH  
and that appears to be OK.

On Sep 4, 2009, at 7:28 AM, Ben Mayer wrote:
I am using PGI 9.0-1 to compile OpenMPI 1.3.3. I use the following  
command to configure OpenMPI:


./configure CC=pgcc CXX=pgCC FC=pgf90 F90=pgf90 --prefix=/shared/ 
ben/openmpi-1.3.3


The PGI compilers are in the path. The make and make install  
complete successfully. The problem that I am having is that why I  
actually run mpif90 (or any of other mpi* executables) it returns  
a message like "gfortran: no input files". When I compiler when  
those files it is calling gcc compilers. There is also some vt*  
files (vtf90, etc) which appear to be for VampirTrace integration.  
They point to the proper pgi compilers.


Any idea what is going on here and how to fix it?

Thank you,

Ben Mayer




___
users mailing list
us...@open-mpi.org 
http://www.open-mpi.org/mailman/listinfo.cgi/users


___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users


___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users




Re: [OMPI users] error compiling OpenMPI 1.3.3 with Intel compilersuite 11.1 on Linux

2009-09-04 Thread Jeff Squyres
Can you clarify what icpc11.1 is?  Is it a sym link to the icpc 11.1  
compiler, or is it a shell script that ends up invoking the icpc v11.1  
compiler?


I ask because the compile line in question ends up with a complex  
quoting scheme that includes a token with spaces in it:


-DOMPI_CONFIGURE_DATE="\"Fri Sep  4 09:53:03 EDT 2009\""

If icpc11.1 is a shell script that ends up invoking the real icpc  
compiler underneath, I could see how the quoting might get screwed up  
and end up passing "Sep" (and following) as individual tokens rather  
than One Big Token (including quotes).


That's just a first guess -- can you check to see if this is happening?



On Sep 4, 2009, at 5:28 PM, Greg Fischer wrote:

I'm attempting to compile OpenMPI version 1.3.3 with Intel C/C++/ 
Fortran version 11.1.046.  Others have reported success using these  
compilers (http://software.intel.com/en-us/forums/intel-c-compiler/topic/68111/ 
).  The line where compilation fails is included at the end of this  
message.  I have also attached complete "./configure" and "make"  
outputs.  Does anyone have any insight as to what I'm doing wrong?


Thanks,
Greg

icpc11.1 -DHAVE_CONFIG_H -I. -I../../../opal/include -I../../../orte/ 
include -I../../../ompi/include -I../../../opal/mca/paffinity/linux/ 
plpa/src/libplpa  -DOMPI_CONFIGURE_USER="\"fischega\"" - 
DOMPI_CONFIGURE_HOST="\"susedev1\"" -DOMPI_CONFIGURE_DATE="\"Fri  
Sep  4 09:53:03 EDT 2009\"" -DOMPI_BUILD_USER="\"$USER\"" - 
DOMPI_BUILD_HOST="\"`hostname`\"" -DOMPI_BUILD_DATE="\"`date`\"" - 
DOMPI_BUILD_CFLAGS="\"-O3 -DNDEBUG -finline-functions -fno-strict- 
aliasing -restrict -pthread -fvisibility=hidden\"" - 
DOMPI_BUILD_CPPFLAGS="\"-I../../..  \"" -DOMPI_BUILD_CXXFLAGS="\"-O3  
-DNDEBUG -finline-functions -pthread\"" -DOMPI_BUILD_CXXCPPFLAGS="\"- 
I../../..  \"" -DOMPI_BUILD_FFLAGS="\"\"" - 
DOMPI_BUILD_FCFLAGS="\"\"" -DOMPI_BUILD_LDFLAGS="\"-export-dynamic   
\"" -DOMPI_BUILD_LIBS="\"-lnsl -lutil  \"" -DOMPI_CC_ABSOLUTE="\"/ 
usr/scripts/icc11.1\"" -DOMPI_CXX_ABSOLUTE="\"/usr/scripts/ 
icpc11.1\"" -DOMPI_F77_ABSOLUTE="\"/usr/scripts/ifort11.1\"" - 
DOMPI_F90_ABSOLUTE="\"/usr/scripts/ifort11.1\"" - 
DOMPI_F90_BUILD_SIZE="\"small\"" -I../../..-O3 -DNDEBUG -finline- 
functions -pthread -MT components.o -MD -MP -MF $depbase.Tpo -c -o  
components.o components.cc &&\

mv -f $depbase.Tpo $depbase.Po
icpc: error #10236: File not found:  'Sep'
icpc: error #10236: File not found:  '4'
icpc: error #10236: File not found:  '09:53:03'
icpc: error #10236: File not found:  'EDT'
icpc: error #10236: File not found:  '2009"'
icpc: error #10236: File not found:  'Sep'
icpc: error #10236: File not found:  '4'
icpc: error #10236: File not found:  '10:11:04'
icpc: error #10236: File not found:  'EDT'
icpc: error #10236: File not found:  '2009"'
icpc: command line warning #10159: invalid argument for option '- 
fvisibility'

icpc: error #10236: File not found:  '"'
icpc: command line warning #10156: ignoring option '-p'; no argument  
required

icpc: error #10236: File not found:  '"'
icpc: error #10236: File not found:  '"'
icpc: error #10236: File not found:  '"'
make[2]: *** [components.o] Error 1
make[2]: Leaving directory `/home/fischega/src/openmpi-1.3.3/ompi/ 
tools/ompi_info'

___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users



--
Jeff Squyres
jsquy...@cisco.com



Re: [OMPI users] OMPI error in MPI_Cart_create (in code that workswithMPICH2)

2009-09-04 Thread Jeff Squyres

On Sep 2, 2009, at 5:27 PM, Greg Fischer wrote:

OK, I've found the offending code and gotten rid of the fork()  
warning.  I'm still left with this:


Sorry for the delay -- I was in Helsinki this past week at the MPI  
Forum meeting; that was consuming most of my bandwidth.



[bl302:26556] *** An error occurred in MPI_Cart_create
[bl302:26556] *** on communicator MPI_COMM_WORLD
[bl302:26556] *** MPI_ERR_ARG: invalid argument of some other kind
[bl302:26556] *** MPI_ERRORS_ARE_FATAL (your MPI job will now abort)


It looks like OMPI reports ERR_ARG from Cart_create in the following  
cases:


- ndims < 0
- if (ndims >= 1 && (NULL == dims || NULL == periods || NULL ==  
comm_cart))

- if (dims[0] * dims[1] * ... * dims[ndims-1] > num procs in comm)

Can you confirm that all of these are false?

--
Jeff Squyres
jsquy...@cisco.com