Difference between revisions of "Ensure software is usable by Xuan Yu"

From Geoscience Paper of the Future
Jump to: navigation, search
(Set PropertyValue: Owner = Xuan Yu)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Category:Task]]
 
[[Category:Task]]
 
<br/><b>Details on how to do this task:</b> [[Ensure software is usable]]<br/><br/>
 
<br/><b>Details on how to do this task:</b> [[Ensure software is usable]]<br/><br/>
 +
 +
The code of PIHM is written in C language. PIHM uses the ODE solver known as CVODE developed at the Lawrence- Livermore National Laboratory. Please download and install the [https://computation.llnl.gov/casc/sundials/main.html solver] before compiling PIHM.
 +
 +
Please note that the solver for PIHM: SUNDIALS is updating, and PIHM is also updating. So please make sure you match the version of SUNDIALS with PIHM. In this study, we would like to use PIHM v2.2 and SUNDIALS 2.2.0.
 +
<li>1. Download SUNDIALS 2.2.0 and install it by three commands:<br>
 +
./configure<br>
 +
make<br>
 +
make install</li>
 +
<li>2. Open the Makefile in PIHM_v2.2 folder, modify line 18 as "prefix = "your directory of SUNDIALS"". Compile PIHM by two commands:<br>
 +
make clean<br>make pihm</li>
 +
 +
Now you will be able to run PIHMv2.2 on your machine.
 
<!-- Add any wiki Text above this Line -->
 
<!-- Add any wiki Text above this Line -->
 
<!-- Do NOT Edit below this Line -->
 
<!-- Do NOT Edit below this Line -->
 
{{#set:
 
{{#set:
 +
Expertise=Open_science|
 +
Expertise=Geosciences|
 
Owner=Xuan_Yu|
 
Owner=Xuan_Yu|
Progress=0|
+
Progress=100|
 
StartDate=2015-02-07|
 
StartDate=2015-02-07|
 
TargetDate=2015-02-20|
 
TargetDate=2015-02-20|
 
Type=Low}}
 
Type=Low}}

Latest revision as of 13:49, 9 March 2015


Details on how to do this task: Ensure software is usable

The code of PIHM is written in C language. PIHM uses the ODE solver known as CVODE developed at the Lawrence- Livermore National Laboratory. Please download and install the solver before compiling PIHM.

Please note that the solver for PIHM: SUNDIALS is updating, and PIHM is also updating. So please make sure you match the version of SUNDIALS with PIHM. In this study, we would like to use PIHM v2.2 and SUNDIALS 2.2.0.

  • 1. Download SUNDIALS 2.2.0 and install it by three commands:
    ./configure
    make
    make install
  • 2. Open the Makefile in PIHM_v2.2 folder, modify line 18 as "prefix = "your directory of SUNDIALS"". Compile PIHM by two commands:
    make clean
    make pihm
  • Now you will be able to run PIHMv2.2 on your machine.