Open main menu

Changes

Install relax cloud.sagemath.com

3,194 bytes added, 11:59, 27 October 2017
→‎Is subversion available: Switched from svn to git.
The [https://cloud.sagemath.com/ SageMathCloud] is a cloud computing platform designed for computational mathematics that is a part of the [https://en.wikipedia.org/wiki/SageMath Sage project].
 
== Purpose ==
Why ?
Other info
* The prizing pricing is here: https://cloud.sagemath.com/policies/pricing.html
* There is also the Bio-NMR initiative: http://www.bio-nmr.net
* And a web service with all NMR software - WeNMR: http://www.wenmr.eu
== Possibilities with cloud.sagemath.com ==
cloud.sagemath.com currently don't does not provide admin account or dedicated SMC servers. <br>A purchase for a subscription can be purchased for $ 49 / per month (or $499/per year), one can apply the quotas listed here to any projects:
<source lang="text">
==Software at cloud.sagemath.com==
===Is subversion git available===
<source lang="bash">
~$ svn git --versionsvn, git version 12.87.10 (r1615264)6
</source>
===Is xmgrace available===
<source lang="bash">
~$ which xmgraceThe program '/usr/bin/xmgrace' is currently not installed. To run 'xmgrace' please ask your administrator to install the package 'grace'~$ graceThe program 'grace' is currently not installed. To run 'grace' please ask your administrator to install the package 'grace'
</source>
</source>
==python =Server ===<source lang="bash">~$ lscpuArchitecture: x86_64CPU op-mode(s): 32-bit, 64-bitByte Order: Little EndianCPU(s): 4On-line CPU(s) list: 0-3Thread(s) per core: 2Core(s) per socket: 2Socket(s): 1NUMA node(s): 1Vendor ID: GenuineIntelCPU family: 6Model: 63Model name: Intel(R) Xeon(R) CPU @ 2.30GHzStepping: 0CPU MHz: 2299.972BogoMIPS: 4599.94Hypervisor vendor: KVMVirtualization type: fullL1d cache: 32KL1i cache: 32KL2 cache: 256KL3 cache: 46080KNUMA node0 CPU(s): 0-3</source> ==Python packages at cloud.sagemath.com==Start pythonPython:
<source lang="bash">
python
</source>
Version of pythonThe current Python version:
<source lang="bash">
Python 2.7.9 (default, Apr 2 2015, 15:33:21)
</source>
Paste in:
<source lang="python">
try:
</source>
Output:
<source lang="python">
>>> try:
</source>
== Install commands===== python Python modules ===
====Bmrblib====
See [[Bmrblib]]
<{{#tag:source lang="bash">|v=1.0.4{{current version bmrblib}}
mkdir -p $HOME/Downloads
pip install .
cd ..
</source>|lang="bash"}}
====minfx=Minfx===
See [[Minfx]]
<{{#tag:source lang="bash">|v=1.0.12{{current version minfx}}
mkdir -p $HOME/Downloads
pip install .
cd ..
</source>|lang="bash"}}
====mpi4py=Mpi4py===
See [[OpenMPI#Install_mpi4py]]
<{{#tag:source lang="bash">|v=2.0.0{{current version mpi4py}}
mkdir -p $HOME/Downloads
pip install .
cd ..
</source>|lang="bash"}}
===Test python Python packages===Paste in:
<source lang="python">
try:
</source>
Output:
<source lang="python">
>>> try:
</source>
===Checkout relax and build=={{#tag: source|cd $HOME{{relax clone}} # Buildcd relaxscons # Link to executablecd $HOMEmkdir -p $HOME/binln -s $HOME/relax/relax $HOME/bin # Test all of relax with unittests and systemtestsrelax --time -urelax --time -s| lang="bash"}} '''relax works!''' == Test of OpenMPI ==See [[OpenMPI#Linux_and_Mac]]<source lang="bash">mpirun --report-bindings -np 4 echo "hello world" mpirun --report-bindings -np 2 relax --multi='mpi4py' Traceback (most recent call last): File "/projects/9cd9d431-3eb2-4cde-a03a-4b9c6b49a1c2/bin/relax", line 7, in <module> relax.start(profile_flag=False) File "/projects/9cd9d431-3eb2-4cde-a03a-4b9c6b49a1c2/relax_trunk/relax.py", line 114, in start processor = load_multiprocessor(relax.multiprocessor_type, callbacks, processor_size=relax.n_processors, verbosity=verbosity) File "/projects/9cd9d431-3eb2-4cde-a03a-4b9c6b49a1c2/relax_trunk/multi/__init__.py", line 189, in load_multiprocessor object = clazz(callback=callback, processor_size=processor_size) File "/projects/9cd9d431-3eb2-4cde-a03a-4b9c6b49a1c2/relax_trunk/multi/mpi4py_processor.py", line 56, in __init__ raise Too_few_slaves_exception()multi.multi_processor_base.Too_few_slaves_exception: master slave processing requires at least 2 processors to run you only provided 1, exiting....Traceback (most recent call last): File "/projects/9cd9d431-3eb2-4cde-a03a-4b9c6b49a1c2/bin/relax", line 7, in <module> relax.start(profile_flag=False) File "/projects/9cd9d431-3eb2-4cde-a03a-4b9c6b49a1c2/relax_trunk/relax.py", line 114, in start processor = load_multiprocessor(relax.multiprocessor_type, callbacks, processor_size=relax.n_processors, verbosity=verbosity) File "/projects/9cd9d431-3eb2-4cde-a03a-4b9c6b49a1c2/relax_trunk/multi/__init__.py", line 189, in load_multiprocessor object = clazz(callback=callback, processor_size=processor_size) File "/projects/9cd9d431-3eb2-4cde-a03a-4b9c6b49a1c2/relax_trunk/multi/mpi4py_processor.py", line 56, in __init__ raise Too_few_slaves_exception()multi.multi_processor_base.Too_few_slaves_exception: master slave processing requires at least 2 processors to run you only provided 1, exiting....--------------------------------------------------------------------------mpirun noticed that the job aborted, but has no info as to the processthat caused that situation.--------------------------------------------------------------------------</source>
== See also ==
[[Category:Devel tutorial]]
Trusted, Bureaucrats
4,228

edits