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

2009-09-05 Thread St Druid
Dear Ben:

On Fri, Sep 4, 2009 at 11:05 PM, Gus Correa wrote:
> 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.
I agree the point, then you can export environment variables to
exchange compilers.

OMPI_MPIFC=pgf90

Good Luck!



>
> 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
>
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>



-- 
B.W. Dong
State Key Laboratory of Superhard Materials,
Jilin University, Changchun, China. 130012

tq02...@gmail.com [ db...@mails.jlu.edu.cn ]


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

2009-09-05 Thread Greg Fischer
Yep, that was it.

The icpc11.1, ifort11.1, and icc11.1 scripts are included in the tar file
attached to my original email.  They set the PATH, LD_LIBRARY_PATH, and
INTEL_LICENSE_FILE correctly.  When I set the environment variables manually
and use the regular icpc, ifort, and icc commands, it works fine.  Good
catch!

Thanks,
Greg

On Fri, Sep 4, 2009 at 11:54 PM, Jeff Squyres  wrote:

> 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
>
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>


[OMPI users] Fwd: vista+cygwin+openmpi

2009-09-05 Thread Jeff Brown
-- Forwarded message --
From: Jeff Brown 
List-Post: users@lists.open-mpi.org
Date: Sat, Sep 5, 2009 at 6:30 PM
Subject: vista+cygwin+openmpi
To: cyg...@cygwin.com, us...@open-mpi.org



I'm trying to install openmpi under cygwin on windows vista, 32 bit version.

Is there a version of openmpi that works under cygwin on windows vista?
Is there a version of openmpi that works under windows vista in some
other environment?

If the answer to either of these is yes, is there a set of
instructions that applies to this isntallation?
Does openmpi require cygserver?
Does cygserver work under windows vista?

--Jeff Brown