You are here: Home / Groups / Earths Interior / Wiki / CitcomS / FAQs / Compare
3.149.250.65
  • Discoverability Visible
  • Join Policy Invite Only
  • Created 30 Dec 2020

FAQs

Version 1
by (unknown)
Version 2
by (unknown)

Deletions or items before changed

Additions or items after changed

1 === Install !CitcomS ===
2 '''Q: What are the dependencies of !CitcomS-2.2 or later?'''
3
4 !CitcomS-2.2 or later depends on the MPI library. In addition, if you like to use the Pyre framework (which provides an ease-of-use environment), you will need Python 2.3 or newer. (Note that if your machine is 64-bit, you will need Python 2.4.)
5
6 '''Q: I want to use !CitcomS in the old way (pure C code, no Python). How can I do that?'''
7
8 You can configure !CitcomS to only use C code by running:
9
10
11 {{{
12 ./configure --without-pyre
13 }}}
14
15 before compiling the code.
16
17 '''Q: What does it mean when “configure” reports this error message'''
18
19
20 {{{
21 OverflowError: signed integer is greater than maximum
22 }}}
23
24 Are you on a 64-bit machine? If so, you will need to upgrade your Python to v2.4 or newer. Python 2.3 or earlier is not 64-bit safe.
25
26 '''Q: The gcc/python/mpi on my system is too old, but I don't have the privilege to update the software. How can I install gcc/python/mpi under my home directory?'''
27
28 -
1 Get the tarball of gcc/python/mpi and untar it
+
# Get the tarball of gcc/python/mpi and untar it
29 -
+
# cd into the untarred directory
30 -
2 cd into the untarred directory
+
# Run the following to install the package under the directory $HOME/opt
31 -
+
32 -
3 Run the following to install the package under the directory $HOME/opt
+
33 -
+
34 -
+
35 {{{
36 ./configure --prefix=$HOME/opt && make && make install
37 }}}
38 -
+
4. Add $HOME/opt/bin into your $PATH and (maybe) $HOME/opt/lib into your $LD_PATH_LIBRARY.
39 -
4 Add $HOME/opt/bin into your $PATH and (maybe) $HOME/opt/lib into your $LD_PATH_LIBRARY.
+
40
41 === Documentation for Developers ===
42 '''Q: I want a specific temperature boundary condition. Where to modify?'''
43
44 Look at lib/ directory, the function full_temperature_boundary_conditions() in Full_boundary_conditions.c or regional_temperature_boundary_conditions in Regional_boundary_conditions.c is the function you need to modify.
45
46 '''Q: I want a specific velocity boundary condition. Where to modify?'''
47
48 Look at lib/ directory, the function full_velocity_boundary_conditions() in Full_boundary_conditions.c or regional_velocity_boundary_conditions() in Regional_boundary_conditions.c.
49
50 '''Q: I want a specific rheology law. Where to modify?'''
51
52 Look at lib/ directory, the function get_system_viscosity() in Viscosity_structures.c.
53
54 '''Q: I want a new equation of state or a new law for heat expansivity, heat capacity, or thermal conductivity. Where to modify?'''
55
56 Look at lib/ directory, the function () in Material_properties.c.