-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"make install" equivalent for bigdft #4
Comments
Hi, So replacing the "../Installer.py build -y -a babel -f ../rcfiles/ubuntu_MPI.rc -v" line by echo 'prefix="/usr/local"' > buildrc and everything would be installed to /usr/local. I don't know if this can be done in one line in the yaml or if we need to add several sections. It's true than bigdft build generates and installs a lot of files, so this might bloat a bit /usr/local folder if all codes are put there. Another option then would be to build in the old folder and just move bin/bigdft executable, as long as the whole lib folder to /usr/local/bin(lib). This would prevent some usages, but most of the time bigdft executable is the one used. Best regards, |
thanks for the hint - it works!
I agree. Perhaps the next release of bigdft could be a bit more selective in the executables it installs? Another request from my side would be to clean up the
|
I wanted to try and include bigdft but after battling with the build script for 1.9.0 I'm going to give up for now. It seems the |
Putting back the timeout avoidance travis_wait seems to be working for the travis side, at least.. I've had some issues with my quantum mobile setup, so I was unable to regenerate everything with ansible yet .. but logging into the virtual machine and compiling 1.9.0 there went through without issue (with vagrant user, I'm wondering if it's not trying to build it with another user ?)... |
So sorry about this - I won't touch this anymore.
Ok, very strange. The latest version of the role does build it for the I'll do it again on the latest version of QM I just released and will post the exact error message here (if there is one) |
The issue with travis is just that the build step itself takes more than 10 minutes and triggers a timeout on their ci system, as there is no output in the meantime, so they provide this mechanism to avoid it. Apparently bigdft takes the longest to compile on this setup, other codes are ~ twice faster to compile. |
I can't reproduce the issue I faced on QM - with my new version, the role installs just fine (just needed to fix the LD_LIBRARY_PATH). |
Hi @adegomme ,
as part of an effort to make our ansible roles more "standard", I'm transforming the roles for codes such that they install the codes directly to the
/usr/local/
prefix by default (so that all users of the VM/server can use them).By convention, this is usually achieved by a
./configure --prefix=/usr/local
, followed bymake; make install
.I notice that bigdft does not seem to have such a mechanism (?)
As I see that you add some paths to the LD_LIBRARY_PATH, can I ask:
/usr/local/bin/
?/usr/local/lib/
?The text was updated successfully, but these errors were encountered: