Compiling and Running UrQMD

Extract, Build, and Run

To install, download the file to your computer and extract it. This will create a directory. Change into this directory and run make. This will give something like this:

$ tar xzvvf urqmd-3.4.tar.gz
drwxrwxr-x user/user        0 2009-12-16 13:27 urqmd-3.4/
drwxrwxr-x user/user        0 2009-12-16 13:10 urqmd-3.4/eosfiles/
-rw-rw-r-- user/user    45824 2009-12-16 13:10 urqmd-3.4/scatter.f
$ cd urqmd-3.4.tar.gz
$ make

To run UrQMD, you can use the file runqmd.bash:

$ /bin/bash runqmd.bash

This will start the simulation of one lead-on-lead collision with an impact parameter of b = 5 fm at lab energy of ELab = 160 AGeV. Please refer to the user guide for information how to change these parameters.

So, to easily snatch the code you need to execute:

tar xzvvf urqmd-3.4.tar.gz
cd urqmd-3.4.tar.gz make
/bin/bash runqmd.bash

Boosting Output

You may want to obtain output files in the LAB frame rather than the usual computational frame (which is that of equal velocities). For that, please use the on your output:

$ perl < OLD_F14 > BOOSTED_F14

where OLD_F14 is the original UrQMD output and BOOSTED_F14 is the boosted UrQMD output, where all coordinates and momenta in the first 8 columns (refer to the User Guide for explanations) have been boosted to a frame where the target rests.