-
Notifications
You must be signed in to change notification settings - Fork 18
Code Compilation
Welcome to the lio wiki! Thank you for your interest in our code.
If you are going to use or develop for LIO, it is highly advisable that you do so by using git. You will need to install and configure the program and then clone the repository. This page may help you through the process of getting git. You don't need to have an account in github for using the code, but you will need one for contributing. More information on how to clone (download) a copy of LIO can be found here.
This wiki is currently under construction.
The easiest way to get a copy of LIO is to clone it using the https protocol. You don't need a github account for downloading content this way (cloning and pulling), so it is specially useful for users. The following command will create a folder named "local_lio" and will download there the code (you can change that name). Whenever you wish to update it, just run $ git pull
from anywhere inside that folder.
$ git clone https://github.com/MALBECC/lio local_lio
or
$ git clone https://username@github.com/MALBECC/lio local_lio
Those two commands are the only git commands you need to know for using our production code (the master branch).
Developers will always need an account for pushing content, and when using this protocol git will ask for their github username and password for authentication. For those concerned with security issues, github also offers the option of two-factor authentication and interacting via ssh protocol using an ssh key. More information is available here.
About Linking
$ export AMBERHOME=/dir/to/amber/
$ export LIOHOME=/dir/to/lio/
$ ./configure -lio -noX11 -netcdfstatic gnu
$ make clean
$ make install
- How to prevent username request with https (second answer by Sean )
- https://gist.github.com/grawity/4392747
- http://stackoverflow.com/questions/29297154/git-invalid-username-or-password
- http://stackoverflow.com/questions/20913962/github-authentication-failing-over-https-returning-wrong-email-address/21374369#21374369
- Another Git scheme/advice to check out.