Editing
Advanced Installation
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=Old (0.9.9) version installation= ====Environment variables==== Example configuration for <tt>bash</tt>: <syntaxhighlight lang="bash"> export RSFROOT=/usr/local/rsf # directory where Madagascar will be installed. if [ -n "$PYTHONPATH" ]; then export PYTHONPATH=${PYTHONPATH}:$RSFROOT/lib else export PYTHONPATH=$RSFROOT/lib fi export PATH=$RSFROOT/bin:$PATH export DATAPATH=/var/tmp/ export MANPATH=$RSFROOT/share/man:$(manpath) export LD_LIBRARY_PATH=$RSFROOT/lib:$LD_LIBRARY_PATH </syntaxhighlight> Notice the slash at the end of the <tt>DATAPATH</tt> variable. Example configuration for <tt>csh</tt> and <tt>tcsh</tt>: <pre> setenv RSFROOT /usr/local/rsf if ($?PYTHONPATH) then setenv PYTHONPATH ${PYTHONPATH}:$RSFROOT/lib else setenv PYTHONPATH $RSFROOT/lib endif set path = ($RSFROOT/bin $path) setenv DATAPATH /var/tmp/ setenv MANPATH $RSFROOT/share/man:`manpath` setenv LD_LIBRARY_PATH $RSFROOT/lib:$LD_LIBRARY_PATH </pre> Notice the backticks surrounding the call to <tt>manpath</tt>. Be aware that on some systems /var/tmp gets automatically cleaned at some intervals, so if you want to keep your data binaries for a long time, set <tt>DATAPATH</tt> to another location where you have write access and that allows large files. ====Software construction==== #Configuration. Change to the top source directory and run <pre>./configure</pre> You can examine the <tt>config.py</tt> file that this command generates. Additional options are available. You can obtain a full list of customizable variables by running <tt>scons -h</tt>. For example, to install C++ and Fortran-90 API bindings in addition to the basic package, run <pre>./configure API=c++,fortran-90</pre> #Building and installing the package. Run <tt>scons install</tt> or the following two commands in succession: <pre>make; make install</pre> or <pre>scons; scons install</pre> If you need "root" privileges for installing under <tt>$RSFROOT</tt>, you may need to run <pre>su; scons install </pre> or <pre>sudo scons install</pre> #Cleaning. To clean all intermediate files generated by SCons, run <pre>make clean</pre> or <pre>scons -c</pre>
Summary:
Please note that all contributions to Madagascar are considered to be released under the GNU Free Documentation License 1.3 or later (see
My wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Getting Madagascar
download
Installation
GitHub repository
SEGTeX
Introduction
Package overview
Tutorial
Hands-on tour
Reproducible documents
Hall of Fame
User Documentation
List of programs
Common programs
Popular programs
The RSF file format
Reproducibility with SCons
Developer documentation
Adding programs
Contributing programs
API demo: clipping data
API demo: explicit finite differences
Community
Conferences
User mailing list
Developer mailing list
GitHub organization
LinkedIn group
Development blog
Twitter
Slack
Tools
What links here
Related changes
Special pages
Page information