Hi Björn,

Why not giving CMake a try? It has been supported on Windows platforms and the building process is nearly 5 times faster then building under Cygwin.


Regards,
Shiqing

On 2011-10-15 11:34 AM, Björn Adlerborn wrote:
Hi, Im trying to build openmpi v1.5.4 on my windows xp machine using cygwin and f77.
.configure works ok, at least displays no errors. Im not supplying any parameters to .configure.
When i try to build I get error when it tries to build using the makefile under ..../openmpi-1.4.4/opal/mca/installdirs/windows
 
make[2]: Entering directory `/home/Björn/openmpi-1.5.4/opal/mca/installdirs/windows'
  CC     opal_installdirs_windows.lo
opal_installdirs_windows.c: In function ‘installdirs_windows_open’:
opal_installdirs_windows.c:68:9: error: ‘HKEY’ undeclared (first use in this function)
opal_installdirs_windows.c:68:9: note: each undeclared identifier is reported only once for each function it appears in
opal_installdirs_windows.c:68:14: error: expected ‘;’ before ‘ompi_key’
opal_installdirs_windows.c:70:9: error: ‘DWORD’ undeclared (first use in this function)
opal_installdirs_windows.c:70:15: error: expected ‘;’ before ‘cbData’
opal_installdirs_windows.c:81:13: error: ‘ERROR_SUCCESS’ undeclared (first use in this function)
opal_installdirs_windows.c:81:43: error: ‘HKEY_LOCAL_MACHINE’ undeclared (first use in this function)
opal_installdirs_windows.c:81:88: error: ‘KEY_READ’ undeclared (first use in this function)
opal_installdirs_windows.c:81:99: error: ‘ompi_key’ undeclared (first use in this function)
opal_installdirs_windows.c:84:17: error: ‘valueLength’ undeclared (first use in this function)
opal_installdirs_windows.c:86:17: error: ‘cbData’ undeclared (first use in this function)
opal_installdirs_windows.c:89:60: error: ‘keyType’ undeclared (first use in this function)
opal_installdirs_windows.c:89:70: error: ‘LPBYTE’ undeclared (first use in this function)
opal_installdirs_windows.c:89:78: error: expected ‘)’ before ‘vData’
opal_installdirs_windows.c:90:27: error: ‘REG_EXPAND_SZ’ undeclared (first use in this function)
opal_installdirs_windows.c:90:57: error: ‘REG_SZ’ undeclared (first use in this function)
make[2]: *** [opal_installdirs_windows.lo] Fel 1
make[2]: Leaving directory `/home/Björn/openmpi-1.5.4/opal/mca/installdirs/windows'
make[1]: *** [all-recursive] Fel 1
Question number 1. Why does it even bother to compile stuff like this. Pure windows related.
Question number 2. Am i missing some vital libraries in order to compile this ?
 
 
 


--
Kindly regards 
Björn
 
+46702048160
 



_______________________________________________
users mailing list
users@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: fan@hlrs.de