Locked History Actions

Diff for "Projectos/PartonsQCD/Phast"

Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2021-06-21 14:03:33
Size: 474
Editor: marcia
Comment:
Revision 3 as of 2021-06-21 14:14:08
Size: 1205
Editor: marcia
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
To run phast in farm: For more info about the farm check [[https://wiki-lip.lip.pt/Computing/LIP_Lisbon_Farm]]

----
'''To run phast in farm:'''
Line 4: Line 8:
script.sh should look like:
#!/bin/bash
# --------------------------------------------------------------------- #
'''To check the status of the job:'''

$squeue -u marcia

----
'''If your phast is installed in your home script.sh should look like:'''

#!/bin/bash #

#
Line 8: Line 20:
Line 9: Line 22:
Line 10: Line 24:
Line 11: Line 26:

#

# Load environment

module load root/6.18.04

cd phast

./phast -u 1 -N 10 /lstore/comp/marcia/mDST.root -h ../hist.root

#where the number after -u should be your userevent number, and here was used -N 10 to run just 10 events to test if the script runs well. As the miniDST is stored in /lstore there is no need to pass it in the INPUT, if it is stored in your home you should pass it.

----
'''If your phast is installed in /lstore script.sh should look like:'''





#SBATCH -p lipq

#SBATCH --mem-per-cpu=3G
Line 14: Line 53:
Line 16: Line 56:
cd phast
.
/phast -u 1 -N 10 /lstore/comp/marcia/coral/amber_mDST_test1.root -h ../hist.root
# Execute macro

/lstore/comp/marcia/
phast/phast/phast -u 900 -N 10 /lstore/comp/marcia/coral/amber_mDST_test1.root

For more info about the farm check https://wiki-lip.lip.pt/Computing/LIP_Lisbon_Farm


To run phast in farm:

$sbatch script.sh

To check the status of the job:

$squeue -u marcia


If your phast is installed in your home script.sh should look like:

#!/bin/bash #

#

#SBATCH -p lipq

#SBATCH --mem-per-cpu=3G

#INPUT=/home/comp/marcia/phast

#OUTPUT=hist.root

#

# Load environment

module load root/6.18.04

cd phast

./phast -u 1 -N 10 /lstore/comp/marcia/mDST.root -h ../hist.root

#where the number after -u should be your userevent number, and here was used -N 10 to run just 10 events to test if the script runs well. As the miniDST is stored in /lstore there is no need to pass it in the INPUT, if it is stored in your home you should pass it.


If your phast is installed in /lstore script.sh should look like:

#SBATCH -p lipq

#SBATCH --mem-per-cpu=3G

#


#

# Load environment

module load root/6.18.04

# Execute macro

/lstore/comp/marcia/phast/phast/phast -u 900 -N 10 /lstore/comp/marcia/coral/amber_mDST_test1.root