| 查看: 2432 | 回复: 1 | ||
wanglianli136铁杆木虫 (著名写手)
|
[求助]
求助lsf集群上提交lammps任务的脚本
|
|
谁有在lsf集群上并行lammps任务的脚本啊?请给我参考一下吧,谢谢 #!/bin/bash # Simple LSF script for submitting multiple parallel lammps jobs #------------------------------------------------------- #------------------------------------------------------- # # <------ Setup Parameters ------> # #BSUB -J chetanF #BSUB -n 4 #BSUB -N -u cmahajan@che.utexas.edu #BSUB -q normal #BSUB -o stdout.o%J #BSUB -e stderr.o%J #BSUB -W 2:00 # # Usage: # #BSUB -n # #BSUB -W [hours:]minutes to specify run time limit # #BSUB -J # #BSUB -q # #BSUB -o # NOTE: The macro %J encodes the job id. # cd $LS_SUBCWD set echo ibrun ./lmp_lonestar # lonestar = TACC Dell cluster SHELL = /bin/sh .IGNORE: # System-specific settings # NOTE: you may need to invoke (by entering in your job-submission script # or in your .cshrc file) # module load libraries/fftw-2.1.5-openmpi-1.1.2-ofed-intel-9.1 # before running LAMMPS. # # Additional Note: # Even when using the OpenMPI build 10.0, # DO NOT USE: module load libraries/fftw-2.1.5_openmpi-1.2.4_ofed_intel-10.0-f025-c025 # This build of FFTW exhibits fatal memory errors in long runs. FFTW = /apps/x86_64/libraries/fftw/openmpi-1.1.2-ofed-intel-9.1/fftw-2.1.5 CC = mpicxx CCFLAGS = -O -DFFT_FFTW -I${TACC_FFTW2_INC} DEPFLAGS = -M LINK = mpicxx LINKFLAGS = -O -L${TACC_FFTW2_LIB} USRLIB = -lfftw -lstdc++ SYSLIB = -lm SIZE = size # Link rule $(EXE): $(OBJ) $(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE) $(SIZE) $(EXE) # Library target lib: $(OBJ) $(ARCHIVE) $(ARFLAGS) $(EXE) $(OBJ) # Compilation rules %.o:%.cpp $(CC) $(CCFLAGS) -c $< %.d:%.cpp $(CC) $(CCFLAGS) $(DEPFLAGS) $< > $@ # Individual dependencies DEPENDS = $(OBJ:.o=.d) include $(DEPENDS) |
» 猜你喜欢
323求调剂
已经有6人回复
一志愿北京化工大学 070300 学硕 336分 求调剂
已经有4人回复
352求调剂
已经有3人回复
一志愿东华大学化学070300,求调剂
已经有8人回复
277材料科学与工程080500求调剂
已经有7人回复
317求调剂
已经有18人回复
293求调剂
已经有5人回复
280分求调剂 一志愿085802
已经有7人回复
0854电子信息求调剂
已经有3人回复
263求调剂
已经有4人回复
» 本主题相关价值贴推荐,对您同样有帮助:
有奖调查大家使用的超级计算中心的计算性能和价格
已经有33人回复

2楼2012-11-09 12:17:27













回复此楼