Comments (9)
from velociraptor-stf.
Thanks @davidharvey1986 for reporting this.
I see two issues:
- Our
src/exceptions.h
header doesn't have an include guard, I'll add one. - Mac's filesystem lookups seem to be case-insensitive, which is causing
src/exceptions.cxx
's#include "exceptions.h"
to includesrc/exceptions.h
(fine), but also makingNBodylib/src/Math/NBodyMath.h
's#include <Exceptions.h>
to includesrc/exceptions.h
instead ofNBodylib/src/Math/Exceptions.h
(not fine), which causes the error. I think that's easily fixable, but I'll require confirmation from your side to know if that's the case.
from velociraptor-stf.
@davidharvey1986 please try compiling the issue-126
branch, which has an update that fixes both issues above. Beware that you'll need to run git submodule update
as the NBodylib
submodule has fixes that need to be brought it too.
from velociraptor-stf.
Hi @rtobar. Thanks for responding. This indeed was my conclusion and by specifically stating the exact file path had temporarily fixed the problem on myside. This fix has now solved the issue so thank you....however....
It now doesn't find the HOST_NAME_MAX, which on my limited knowledge is not something that is valid on a MAC (and is not defined in the machine headers) by changing thi tos SC HOST_NAME_MAX works, but I don't know if there is a subtle difference.
Thanks
output.log
from velociraptor-stf.
@davidharvey1986 thanks for reporting that further issue. Using _SC_HOST_NAME_MAX
is not exactly correct; however the fully correct way of doing this in all platforms is a bit clunky, so I'll just replace with 100
-- it's a small detail that won't kill anyone.
from velociraptor-stf.
@davidharvey1986 just pushed a further commit to the issue-126
branch, please let me know if that works.
from velociraptor-stf.
This has now compiled. Thank you for your help!
from velociraptor-stf.
Great, I'll merge as soon as I get back to my laptop.
from velociraptor-stf.
Merged to master now, thanks!
from velociraptor-stf.
Related Issues (20)
- Incorrectly sized buffer given for MPI_Bcast reception HOT 1
- Writing parallel properties file in hydro builds is broken HOT 6
- SO list offsets are wrong/counterintuitive HOT 6
- Inconsistent array names between properties files HOT 6
- SO list output too large and possibly wrong HOT 11
- Error in writing HDF5 outputs HOT 5
- Improve VR's memory usage for extra data in Particles
- DMO Zoom on-the-fly with SWIFT segfault HOT 4
- OpenMP bug in temperature calculations. HOT 5
- Memory usage blowing up in large DMO runs HOT 22
- Differences in halo masses when switching on/off substructure search HOT 2
- Mistakes in metallity calculations HOT 1
- Apparently wrong output when using Star_internal_property options
- HIGHRES needs undocumented Extensive_interloper_properties_output config option
- Particle_type_for_reference_frames value not listed in the output HOT 3
- Crash with large SWIFT runs using MPI HOT 2
- Very wrong results on a zoom.
- Crash in MPIBuildParticleNNExportListUsingMesh() HOT 2
- Buffer overflow in PotentialTree with OpenMP HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from velociraptor-stf.