Skip to content

Code Compilation

Federico N. Pedron edited this page Jun 26, 2020 · 3 revisions

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.

INDEX


Obtaining LIO

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.


Compiling LIO

About Linking


Compiling AMBER with LIO

$ export AMBERHOME=/dir/to/amber/

$ export LIOHOME=/dir/to/lio/

$ ./configure -lio -noX11 -netcdfstatic gnu

$ make clean

$ make install


Sources