documents:101103imagej_cluster_short
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
documents:101103imagej_cluster_short [2010/11/25 15:22] – kota | documents:101103imagej_cluster_short [2020/11/26 09:11] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Using Cluster (Quick Version) ====== | ====== Using Cluster (Quick Version) ====== | ||
+ | |||
+ | **Note: This page is outdated (June 1, 2016)**. I will prepare a newer version. | ||
Since most of the scripts for cluster use is located under a specific directory in the ALMF server, I recommend you to add the path to your .tcshrc as below. | Since most of the scripts for cluster use is located under a specific directory in the ALMF server, I recommend you to add the path to your .tcshrc as below. | ||
Line 6: | Line 8: | ||
</ | </ | ||
Otherwise, please add the path above in front of script name. | Otherwise, please add the path above in front of script name. | ||
+ | |||
+ | ===== Interactive Usage of Cluster CPU ===== | ||
+ | |||
+ | Before submitting huge data with your script, you might want to test run the script interactively to see if it is indeed working. To do so, you could access cluster in interactive mode. | ||
+ | |||
+ | - Log in to sub-master | ||
+ | - then "qsub -I" | ||
+ | - wait for some seconds, you will be assigned to a specific node where you could test around. | ||
+ | - To enable multi-threaded computation, | ||
+ | |||
===== Processing by ImageJ from Command Line ===== | ===== Processing by ImageJ from Command Line ===== | ||
Line 27: | Line 39: | ||
To process image file /a/b/c.tif with an ImageJ macro file /d/e/f.ijm, like above, but with cluster | To process image file /a/b/c.tif with an ImageJ macro file /d/e/f.ijm, like above, but with cluster | ||
- | <quote> | + | <blockquote> |
**sh qsubIJ /d/e/f.ijm / | **sh qsubIJ /d/e/f.ijm / | ||
- | </quote> | + | </blockquote> |
Job will be submitted to the cluster, and what should be the output from ImageJ will be saved as a text file in your ALMF home directory: | Job will be submitted to the cluster, and what should be the output from ImageJ will be saved as a text file in your ALMF home directory: | ||
Line 78: | Line 90: | ||
sh / | sh / | ||
</ | </ | ||
- | **/ | + | **sh / |
actual processing: | actual processing: | ||
- | **sh /g/almf/softwae/ij/clust5fullp.sh** / | + | **sh /g/almf/software/bin2/qsubIJbatch** / |
documents/101103imagej_cluster_short.1290698554.txt.gz · Last modified: 2016/05/24 12:46 (external edit)