Open 3rico opened 6 years ago
Sorry, I cannot help you there. It's been too long ago, so I'd had to start from scratch like you. It sounds like an issue with having the wrong compiler (version). flat_namespace was one of the options I had to include/exclude when going between f77/f90 and gfortran.
Most likely, you'd want to get a different pypolychord in the first place. My fork is built on one of the very first versions; not a great starting point. I would try one of @JohannesBuchner's repositories. He's done a ton of work in this space.
Hello, I tried following your instructions but i keep getting this error.
gfortran -ggdb -dynamiclib -fPIC -undefined suppress -flat_namespace -o libchord.so utils.o random_utils.o priors.o grades.o settings.o calculate.o evidence.o feedback.o read_write.o clustering.o likelihoods.o chordal_sampling.o generate.o nested_sampling.o InitSampler.o gfortran: error: suppress: No such file or directory gfortran: error: unrecognized command line option ‘-flat_namespace’ Makefile:143: recipe for target 'libchord.so' failed make[1]: [libchord.so] Error 1 make[1]: Leaving directory '/home/e/Desktop/Eric/Rhodes_University/RATT/Computer Softwares/PolyChord_linux/vhaasteren/pypolychord/src' Makefile:20: recipe for target 'libchord.so' failed make: [libchord.so] Error 2
Any ideas?
Thanks!!