pyne / pyne-ci

Continuous Integration scripts for PyNE core using Batlab
Other
1 stars 5 forks source link

moab on mac #2

Closed gidden closed 10 years ago

gidden commented 10 years ago

trying to build and test with moab currently leads to a linking error on macs. note that a full suite of build scripts and run specs exist in the repo, for which ubuntu passes and mac does not.

gidden commented 10 years ago

note that dagmc-ci does not test on macs

scopatz commented 10 years ago

That explains some things...

gidden commented 10 years ago

I've done a little more digging and found the following:

I need to move on to bigger and better things (i.e., cyclus, research, pyne transmute, and graduating), so I'll leave this issue for the next intrepid CIer.

gidden commented 10 years ago

Hi @scopatz, @crbates. I started this issue a few days ago and thought we should continue any/all discussion here. Let me know if you'd still prefer the listserv.

I've been able to confirm the same error using HDF5-1.8.11 and the latest MOAB: http://submit-1.batlab.org/nmi-runs/gidden/2014/03/gidden_submit-1.batlab.org_1394492557_24936/userdir/nmi:x86_64_MacOSX8/remote_pre_declare.err

I still see the runlib error, i.e.,

++ make install
ranlib: file: /Volumes/MacintoshHD2/condor/slot1/dir_70963/userdir/hdf5-1.8.11/../install/lib/libhdf5.a(H5CS.o) has no symbols
ranlib: file: /Volumes/MacintoshHD2/condor/slot1/dir_70963/userdir/hdf5-1.8.11/../install/lib/libhdf5.a(H5Dmpio.o) has no symbols
ranlib: file: /Volumes/MacintoshHD2/condor/slot1/dir_70963/userdir/hdf5-1.8.11/../install/lib/libhdf5.a(H5Fmpi.o) has no symbols
ranlib: file: /Volumes/MacintoshHD2/condor/slot1/dir_70963/userdir/hdf5-1.8.11/../install/lib/libhdf5.a(H5FDdirect.o) has no symbols
ranlib: file: /Volumes/MacintoshHD2/condor/slot1/dir_70963/userdir/hdf5-1.8.11/../install/lib/libhdf5.a(H5FDmpi.o) has no symbols
ranlib: file: /Volumes/MacintoshHD2/condor/slot1/dir_70963/userdir/hdf5-1.8.11/../install/lib/libhdf5.a(H5FDmpio.o) has no symbols
ranlib: file: /Volumes/MacintoshHD2/condor/slot1/dir_70963/userdir/hdf5-1.8.11/../install/lib/libhdf5.a(H5FDmpiposix.o) has no symbols
ranlib: file: /Volumes/MacintoshHD2/condor/slot1/dir_70963/userdir/hdf5-1.8.11/../install/lib/libhdf5.a(H5MFdbg.o) has no symbols
ranlib: file: /Volumes/MacintoshHD2/condor/slot1/dir_70963/userdir/hdf5-1.8.11/../install/lib/libhdf5.a(H5Obogus.o) has no symbols
ranlib: file: /Volumes/MacintoshHD2/condor/slot1/dir_70963/userdir/hdf5-1.8.11/../install/lib/libhdf5.a(H5Smpio.o) has no symbols
ranlib: file: /Volumes/MacintoshHD2/condor/slot1/dir_70963/userdir/hdf5-1.8.11/../install/lib/libhdf5.a(H5TS.o) has no symbols
ranlib: file: /Volumes/MacintoshHD2/condor/slot1/dir_70963/userdir/hdf5-1.8.11/../install/lib/libhdf5.a(H5Zszip.o) has no symbols

There's also another (possibly related?) error:

libtool: link: warning: `/Volumes/MacintoshHD2/condor/slot1/dir_70963/userdir/moab-4.6.2/../install/lib/libhdf5.la' seems to be moved
scopatz commented 10 years ago

There's also another (possibly related?) error:

Ahhh This might do it. Shared objects on Macs are not relocatable without some amount of hell. Weird that we are not seeing this for cyclus, et al. So this might be a red herring.

scopatz commented 10 years ago

I actually have no clue what is going on here. Maybe we can try on my laptop today and bring it up with MOAB directly.

crbates commented 10 years ago

This looks like it's an hdf5 build issue to me. I just re-built moab pytaps and pyne on my machine with moab support without any issues (I am on 10.9 though I don't think thats the issue here).

gidden commented 10 years ago

So I follow the exact same strategy that we follow in cyclus, i.e., make an install directory and copy that install directory for fast builds. It's not clear to me why this passes for cyclus and fails for pyne..

On Tue, Mar 11, 2014 at 9:13 AM, Cameron Bates notifications@github.comwrote:

This looks like it's an hdf5 build issue to me. I just re-built moab pytaps and pyne with moab support without any issues (I am on 10.9 though I don't think thats the issue here).

Reply to this email directly or view it on GitHubhttps://github.com/pyne/pyne-ci/issues/2#issuecomment-37299416 .

Matthew Gidden Ph.D. Candidate, Nuclear Engineering The University of Wisconsin -- Madison Ph. 225.892.3192

gidden commented 10 years ago

Not to mention that the slow builds are failing. The only thing wonky there is that the install directory gets copied in the middle of the build process.

On Tue, Mar 11, 2014 at 9:21 AM, Matthew Gidden gidden@wisc.edu wrote:

So I follow the exact same strategy that we follow in cyclus, i.e., make an install directory and copy that install directory for fast builds. It's not clear to me why this passes for cyclus and fails for pyne..

On Tue, Mar 11, 2014 at 9:13 AM, Cameron Bates notifications@github.comwrote:

This looks like it's an hdf5 build issue to me. I just re-built moab pytaps and pyne with moab support without any issues (I am on 10.9 though I don't think thats the issue here).

Reply to this email directly or view it on GitHubhttps://github.com/pyne/pyne-ci/issues/2#issuecomment-37299416 .

Matthew Gidden Ph.D. Candidate, Nuclear Engineering The University of Wisconsin -- Madison Ph. 225.892.3192

Matthew Gidden Ph.D. Candidate, Nuclear Engineering The University of Wisconsin -- Madison Ph. 225.892.3192

crbates commented 10 years ago

I think without install_name_tool fun times you might have problems doing that.

gidden commented 10 years ago

Here is an example with a straight build with the most recent hdf5 (1.8.11) and moab, no copying. I'm officially stumped.

gidden commented 10 years ago

ok, so as a final word:

scopatz commented 10 years ago

So is that a sigh of relief? Does it work?!