Tina Düren

Research Group

  • Home
  • Research
  • People
  • Publications
  • Teaching
  • Contact

 


Department of Chemical Engineering, University of Bath

Music links

  • Back to main Music tutorial page
  • Next: Displaying a pmap
  • Previous: The map control file
  • Music pages at Northwestern
  • Music documentation at Northwestern
  • Back to main research page

Music Tutorial - Creating a pmap

You are now ready to start your first music simulation. There is only one more thing to do: you have to create the executable. To do this follow the steps decribed in "Compiling music programs" with the music_mapmaker.F90 driver.

You should now have the following:

  • A-A-interaction file
  • M-M-interaction file
  • Environment variables file
  • Intra-molecular file
  • A link to the compiled musicmap executable
  • A control file for the map program
  • All the atom and molecule files in the directories specified in your environment file


You can download a tar-file containing all the necessary files to create a pmap for Methane in IRMOF1 with the UFF force field here.

You are now ready to start your first music simulation. Before you start your simulation, you must tell MUSIC where to look for the atom and molecule files:
>source [environment file]

Now start the simulation:
>./[map executable link] [map control file]

Running the simulation on a cluster

If you are using a computer cluster such as gladiator at Edinburgh University you are not allowed to run simulations on the front end but you have to submit the job to the queue. Repeat the above to check it works (there is nothing more annoying than to find out that your simulation wasn't able to start properly because you made a mistake in setting up one of your files). Then after about 10-20 seconds press control-c to stop it. Remove the (empty) *.pmap file that was created.

To submit a job to the cluster, you have to write a shell script. The following script can be used on Eddie at the University of Edinburgh. To run a simulation on For other systems, contact your system administrator about how to adopt it.

 
#!/bin/sh
#
#!/bin/sh	
#$ -l h_rt=18:00:00 		 See ** below
#$ -cwd   Tells Eddie to run the simulation in the current folder.

The next 3 lines tells the processor what to do 

cd /home/[Pmap folder]				Go to the directory with the files in it.
source ./[environment file]				Source your other files
./[map executable link]  [map control file] > logfile.meta 	Run the simulation 

To submit the job, type in the shell window:
>qsub [above filename]
**This is the amount of time that you want the cluster to give to your simulation, the longer the time the lower priority it gets in the queue but if not enough time the simulation will be cut off and will have to be started from where it stopped. 10 hrs is more than enough for basic pmap creation.

Department of Chemical Engineering, University of Bath
Copyright (c) 2015 Tina Düren. All rights reserved. Design by FCT.