[Moller_simulation] [EXTERNAL] Installing remoll centrally and running without full remoll checked out

Wouter Deconinck wouter.deconinck at umanitoba.ca
Thu Feb 25 15:08:26 EST 2021


Hi,

I mentioned this in the simulation meeting, but it probably is more
usefully explained in an email.

You can install remoll in a central location (e.g. /usr/local) and run it
from there. For example, the following commands will install remoll
centrally (relevant stuff in blue):
  cmake -Bbuild -DCMAKE_INSTALL_PREFIX=/usr/local .
  make -Cbuild
  make -Cbuild install
Now you can run the command remoll from anywhere (assuming /usr/local/bin
is in your path).

The benefits of this are that you can now more easily run multiple
different jobs without having to copy the entire remoll directory multiple
times. You could create the following directory structure:
.
├── sim1
│   └── myrun1.mac
├── sim2
│   └── myrun2.mac
├── sim3
│   ├── geometry
│   │   └── ...
│   └── myrun3.mac
...

Whereas before you would have to locate the entire geometry etc etc in each
of those directories, you can now just keep the one macro that you are
modifying, and start remoll there. When remoll can't find a file locally,
it will look for it in the central install location. It will still write
output files to the directory you start remoll in (by default at least).

If you do want to change the geometry, you can just copy the geometry
directory there, but you don't need the macros etc.

Cheers,
Wouter
-- 
Wouter Deconinck (he/him/his) 🕪
<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.name-2Dcoach.com_wouter-2Ddeconinck&d=DwIFaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=hK0qfHtfdwUHlZG0DnK-QRJVYus_TzTB8u52ev2QBtI&m=Ij6gWYkp46ypbK0ZuOFlGPL-fdQ8hckjuHsYShbxP4M&s=PmdMqqnQXuZmm5jHttIneDDswziDLHT8a26RCCfcvCM&e= >
Associate Professor of Physics, University of Manitoba
Office: 204 Allen / JLab CC F345, Phone: (204) 474-6206
Zoom meeting room: https://urldefense.proofpoint.com/v2/url?u=https-3A__zoom.us_j_7579272413&d=DwIFaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=hK0qfHtfdwUHlZG0DnK-QRJVYus_TzTB8u52ev2QBtI&m=Ij6gWYkp46ypbK0ZuOFlGPL-fdQ8hckjuHsYShbxP4M&s=cqwpjCQT668HroT1uihNSLsJI8efcK7_0B4JGTlBYyo&e=  R3G2G6
Science makerspace consultation needed? Fill out the intake form
<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.sci.umanitoba.ca_physics-2Dastronomy_resources_faculty-2Dof-2Dscience-2Dmaker-2Dspace_maker-2Dspace-2Dfabrication-2Dconsultation-2Drequest_&d=DwIFaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=hK0qfHtfdwUHlZG0DnK-QRJVYus_TzTB8u52ev2QBtI&m=Ij6gWYkp46ypbK0ZuOFlGPL-fdQ8hckjuHsYShbxP4M&s=V5sovFiypoZHtTV5ObosVAqOEkZX578gdZScOYDqteU&e= >
Watch my August 2019 APS webinar on agile in physics education
<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.aps.org_careers_guidance_webinars_agile.cfm&d=DwIFaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=hK0qfHtfdwUHlZG0DnK-QRJVYus_TzTB8u52ev2QBtI&m=Ij6gWYkp46ypbK0ZuOFlGPL-fdQ8hckjuHsYShbxP4M&s=q__1Q-TPJaV1rrr4H9VphYInx2RTF137C9dxZKV-1iA&e= >!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/moller_simulation/attachments/20210225/057d5287/attachment.html>


More information about the Moller_simulation mailing list