Re: [OMPI users] FW: Issue with mpicc --showme in windows

2011-06-10 Thread Shiqing Fan


That's very strange. From my test, everything is just fine, I tried 
"mpif77 --showme" and got following result even I don't have a Intel 
fortran compiler installed:


C:\Program Files\OpenMPI_v1.5.3-win32\bin>mpif77 --showme
ifort.exe /I"C:\Program Files\OpenMPI_v1.5.3-win32\include" /link 
/LIBPATH:"C:\P
rogram Files\OpenMPI_v1.5.3-win32\lib" libmpi_f77d.lib libmpid.lib 
libopen-pald.

lib libopen-rted.lib advapi32.lib Ws2_32.lib shlwapi.lib

Maybe your installation was corrupted? Did you do a normal installation 
without any special configuration? This problem might also happen if you 
directly copy a installed directory from one computer to another, and 
the registry on the second computer doesn't have necessary information.


Could you also look into your registry, and look for 
HKLM\\software\\OpenMPI, if anything exists there, please send me their 
value.



Regards,
Shiqing

On 2011-06-10 5:41 AM, AMARNATH, Balachandar wrote:


Hi,

I use this version 
http://www.open-mpi.org/software/ompi/v1.5/downloads/OpenMPI_v1.5.3-2_win32.exe


Regards

Balachandar

*From:*Shiqing Fan [mailto:f...@hlrs.de]
*Sent:* 10 June 2011 03:31
*To:* Open MPI Users
*Cc:* AMARNATH, Balachandar
*Subject:* Re: [OMPI users] FW: Issue with mpicc --showme in windows

Hi Balachandar,

Which version of OMPI did you use? I know old versions on Windows have 
such problem. Using a newer version will solve your problem.



Regards,
Shiqing

On 2011-05-23 11:45 AM, AMARNATH, Balachandar wrote:

Hi,

I still don't understand why the command is trying to open a 
configuration file from a non-existing location. For me its weird..!! 
May be, I am doing wrong somewhere? Am I missing some environment 
variables which I need to set before starts working with it ?


Regards

Balachandar

_
*From:* AMARNATH, Balachandar
*Sent:* 20 May 2011 17:48
*To:* 'us...@open-mpi.org '
*Subject:* Issue with mpicc --showme in windows

Hello,

Here in my windows machine, if i ran mpicc --showme, i get erroneous 
output like below:-


**

C:\>C:\Users\BAAMARNA5617\Programs\mpi\OpenMPI_v1.5.3-win32\bin\mpicc.exe 
--showme


Cannot open configuration file 
C:/Users/hpcfan/Documents/OpenMPI/openmpi-1.5.3/i


nstalled-32/share/openmpi\mpif77.exe-wrapper-data.txt

Error parsing data file mpif77.exe: Not found

**

I installed openmpi from 
http://www.open-mpi.org/software/ompi/v1.5/downloads/OpenMPI_v1.5.3-2_win32.exe 
and end up with error.  (Read in a forum that 1.4 version of openmpi 
does not support fortran bindings and hence obtained one of the recent 
releases). Hope to fix this soon,


With thanks and regards

Balachandar

The information in this e-mail is confidential. The contents may not be 
disclosed or used by anyone other than the addressee. Access to this e-mail by 
anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and 
delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of 
this e-mail as it has been sent over public networks. If you have any concerns 
over the content of this message or its Accuracy or Integrity, please contact 
Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus 
scanning software but you should take whatever measures you deem to be 
appropriate to ensure that this message and any attachments are virus free.
  
  
___

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




--
---
Shiqing Fan
High Performance Computing Center Stuttgart (HLRS)
Tel: ++49(0)711-685-87234  Nobelstrasse 19
Fax: ++49(0)711-685-65832  70569 Stuttgart
http://www.hlrs.de/organization/people/shiqing-fan/
email:f...@hlrs.de  
This mail has originated outside your organization, either from an external 
partner or the Global Internet.
Keep this in mind if you answer this message.
  
The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.

If you are not the intended recipient, please notify Airbus immediately and 
delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of 
this e-mail as it has been sent over public networks. If you have any concerns 
over the content of this message or its Accuracy or Integrity, please contact 
Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus 
scanning software but you should take whatever measures you deem to be 
appropriate to ensure that this message and any attachments are virus free.


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

Re: [OMPI users] Building OpenMPI v. 1.4.3 in VS2008

2011-06-10 Thread Alan Nichols
Hi Shiquing,

OK I'll give this a try... however, I realized after some Google searching in 
the aftermath of my previous attempt to build on VS2008 that the file that I'm 
missing on that platform is shipped with VS2010.
So I suspect that building on VS2010 will go smoothly as you said. My problem 
is that my current effort is part of a much larger project that is being built 
on VS2008. On the one hand I don't want at all to shift that larger code base 
from VS2008 to VS2010 (and fight the numerous problems that always follow an 
upheaval of that sort); on the other hand I'm dubious about trying to build my 
parallel support library on VS2010 and the rest of the code  on VS2008.

Is there a way to do what I really want to do, which is build the openmpi 
source on VS2008?

Alan Nichols
AWR - STAAR
11520 N. Port Washington Rd.
Mequon, WI 53092
P: 1.262.240.0291 x 103
F: 1.262.240.0294
E: anich...@awrcorp.com
http://www.awrcorp.com

From: Shiqing Fan [mailto:f...@hlrs.de]
Sent: Thursday, June 09, 2011 6:43 PM
To: Open MPI Users
Cc: Alan Nichols
Subject: Re: [OMPI users] Building OpenMPI v. 1.4.3 in VS2008


Hi Alan,

It looks like a problem of using a wrong generator in CMake GUI. I double 
tested a fresh new downloaded 1.4.3 on my win7 machine with VS2010, everything 
worked well.

Please check:
1.  a proper CMake generator is used.
2.  the CMAKE_BUILD_TYPE in CMake GUI and the build type in VS are both Release

If the error still happens, please provide me the file name and  line number 
where triggers the error when compiling it.

Regards,
Shiqing

On 2011-06-07 5:37 PM, Alan Nichols wrote:
Hello,

I'm currently trying to build OpenMPI v. 1.4.3 from source, in VS2008.  
Platform is Win7, SP1 installed ( I realize that this is possibly not an ideal 
approach as v. 1.5.3 has installers for Windows binaries.  However for 
compatibility with other programs I need to use v. 1.4.3 if at all possible;  
also as I have many other libraries build under VS2008, I need to use the 
VS2008 compiler if at all possible).

Following the README.WINDOWS file I found, I used CMake to build a Windows .sln 
file.  I accepted the default CMake settings, with the exception that I only 
created a Release build of OpenMPI.  Upon my first attempt to build the 
solution, I got an error about a missing file stdint.h.  I was able to fix this 
by including the stdint.h from VS2010.  However I now get new errors referencing

__attribute__((__always_inline__))

__asm__ __volatile__("": : :"memory")

These look to me like linux-specific problems -- is it even possible to do what 
I'm attempting, or are the code bases and compiler fundamentally at odds here?  
If it is possible can you explain where my error lies?

Thanks for your help,

Alan Nichols






___

users mailing list

us...@open-mpi.org

http://www.open-mpi.org/mailman/listinfo.cgi/users




--

---

Shiqing Fan

High Performance Computing Center Stuttgart (HLRS)

Tel: ++49(0)711-685-87234  Nobelstrasse 19

Fax: ++49(0)711-685-65832  70569 Stuttgart

http://www.hlrs.de/organization/people/shiqing-fan/

email: f...@hlrs.de