Comments (8)
If you had previously installed operon with sudo make install
, the operon folder inside site-packages will belong to root, therefore giving the permissions error. A sudo rm -rf /home/bill/anaconda3/envs/srbench/lib/python3.9/site-packages/operon
will probably fix it.
Regarding pkg-config
, the important thing is that pkg-config --cflags python3
returns the right thing, since it is needed in the GP-GOMEA build. Adding pkg-config to the environment, therefore enabling it to find all the other packages installed in the env, is the safest way to do it. If it works without it i'd hazard to guess it's only by some happy coincidence :).
from srbench.
all sounds good, thanks.
I have to revisit, but sudo
was necessary for the GP-GOMEA install. Do you have a suggestion for https://github.com/EpistasisLab/srbench/blob/master/experiment/methods/src/gpgomea_install.sh to get around sudo make
?
from srbench.
I just tested again and had no issue installing without sudo, a simple make install
works if the install destination is writable, mine is under ~/miniconda3/envs/srbench/lib/python3.9/site-packages/pyGPGOMEA
so it does not need any special privileges.
from srbench.
I made most of the suggested changes in 727c933 . The github actions workflow passes fine with all sudos removed. Locally, for operon, I am getting this error:
[ 51%] Built target operon
[100%] Built target pyoperon
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /home/bill/anaconda3/envs/srbench/lib/python3.9/site-packages/operon
CMake Error at cmake_install.cmake:54 (file):
file INSTALL cannot set permissions on
"/home/bill/anaconda3/envs/srbench/lib/python3.9/site-packages/operon":
Operation not permitted.
Other notes:
pkg-config needs to be added to environment.yml, otherwise build scripts relying on it will fail (e.g. GP-GOMEA)
I'm not sure about this since the build scripts are succeeding for GP-GOMEA, using miniconda and the current environment (e.g. https://github.com/EpistasisLab/srbench/runs/2374405169?check_suite_focus=true)
cxxopts is not necessary (operon only needs it for the command-line program, not for the python module)
removed in b217529
from srbench.
two issues:
- ITEA (@folivetti) requires sudo within the curl " " | sh step installing haskell
- after adding pkg-config dependency I get an error with ITEA: https://github.com/EpistasisLab/srbench/runs/2384207661?check_suite_focus=true#step:7:171
from srbench.
Regarding 1, installing Haskell stack will only require sudo if one of the requirements are not installed by default. From the top of my head it will require GMP and maybe ffilib.
The second problem is also related to the lack of sudo, it needs to have these libraries installed
GSL
BLAS
LAPACK
from srbench.
I think you could add the following conda packages in the environment.yml
file:
gmp, libffi, gsl, libblas, liblapack
and everything should work (including not requiring a sudo)
from srbench.
I believe all of this is resolved now, let me know if you have additional ideas for the install script!
from srbench.
Related Issues (20)
- How to compare the ground-truth expressions with the sympy string HOT 4
- Bingo: `bingo.bingocpp.AGraph` has no attribute `_update` HOT 1
- competition code suggestions HOT 2
- bsub/bjobs dependency? HOT 1
- typo in feat_install.sh HOT 1
- Are these the same seeds used when running the competition? HOT 2
- Have you considered including TensorGP? HOT 3
- Quick start help needed - surely useful for other new users HOT 4
- Operon fails to launch from "evaluate_model.py" on Docker image HOT 26
- Always the same wrong result, across different methods *within SRBench*, when trying to fit a simple ground truth equation HOT 19
- Use `micromamba` instead of `conda` HOT 9
- Wall clock time benchmark HOT 6
- Problems reproducing SRBench results [most methods fail or some runs go to an end.] HOT 12
- Operon install script breaks version control
- send PRs to the dev branch
- PySR parameters HOT 5
- Request for Instructions on How To run *just one* of the Experiments - to validate/debug the installation HOT 5
- add local test script for competition submissions HOT 6
- Explore nix as conda alternative HOT 5
- this is terrible HOT 2
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 srbench.