You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Jaime, I've updated the installation instructions in the README. For right now, I recommend cloning the repo, editing the setup.py file with your preferred compiler directives, running make, and then adding the directory to your Python path. I would recommend this over installing it your environment's site-packages mostly because you will almost certainly need to modify something, and you might find that easier to do that on a separate git branch compared to repeatedly re-installing it whenever a change is made.
Note that I added an environment variable for the MultiNest directory MNEST_DIR. Hard-coded pathes should now be removed, but some relative paths and un-tracked data files exist that I use for testing (like nestfit.main.get_test_cubestack or nestfit.main.test_fit_cube).
I'm fairly inexperienced with Python packaging and distribution however, so any tips are welcome. The setup.py pile is mostly for building the extension module rather than installing it.
I am trying to install the package, however, it is not well documented what needs to be modified. I guess that this is the suggested method:
However, this must be modified in the setup.py file
maybe use the LD_LIBRARY_PATH variable.
Also, if I need to use the icc compiler instead of gcc, then this command line could be used:
also, I think that
-openmp
should be removed fromsetup.py
in the case of using iccHow do you setup the code for a new dataset? What is the shortcut?
The text was updated successfully, but these errors were encountered: