[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] Compiling Linux code for Windows, incl libraries

Hi everyone,

Here at Sydney University, we are trialling a couple of student labs with Condor and making them available to select researchers as a pilot to get their feedback.

As you might expect, the labs are Windows, and the researchers mostly use custom C++ code, developed with Linux in mind. This code makes use of a variety of libraries, including ImageMagick, FFTW, Boost etc, amongst others.

Although I have managed to compile all this code for Windows, using MinGW, I have not been able to generate a portable, self contained EXE file which can be shipped to Condor execute nodes to be run. After the initial hurdle of compiling with MinGW, finding and using Dependency Walker (which didn't seem to direct me to the right DLLs anyway), and then repeatedly attempting to run the EXE, finding the DLL it complained it couldn't find and packaging it all up using Packager (https://code.google.com/p/exe-packager/), I now have the ubiquitous "The application was unable to start correctly (0x000007b)" error message. Same result on both 32bit and 64bit windows.

So, I'm at something of a brick wall. This is really a critical step for the success of the Condor pilot at the University of Sydney, since our labs are all Windows, and researchers are far more likely to have Linux code than Windows. Although it may be possible in the medium term to install Cygwin on the lab machines, we would still have the issue of appropriate libraries etc being available on the execute machines.

Can anyone recommend a "best practices" guide, or does anyone have experience with this themselves? Any direction at this point would be much appreciated.

MURRAY-LUKE PEARD | High Performance Computing Support Analyst
Information and Communications Technology 
G12 - Services Building  | The University of Sydney | NSW | 2006                
T +
61 2 9351 5066  | E 
murray-luke.peard@xxxxxxxxxxxxx  | W  http://sydney.edu.au/ict