Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
doku:abaqus6 [2015/04/16 07:25] – created jz | doku:abaqus6 [2015/09/30 13:04] (current) – markus | ||
---|---|---|---|
Line 4: | Line 4: | ||
< | < | ||
#!/bin/bash | #!/bin/bash | ||
- | #SBATCH -J bb_ab1 | + | #SBATCH -J abaqus |
#SBATCH -N 2 | #SBATCH -N 2 | ||
#SBATCH --ntasks 32 | #SBATCH --ntasks 32 | ||
Line 22: | Line 22: | ||
echo " | echo " | ||
- | abq6141 env=mp_host_list job=bb_aba1 cpus=$cpus parallel=domain domains=32 mp_mode=mpi input=e1.inp</ | + | abq6141 env=mp_host_list job=bb_aba1 cpus=$cpus parallel=domain domains=32 mp_mode=mpi input=input_file</ |
+ | |||
+ | |||
+ | abaqus_v6.env: | ||
+ | < | ||
+ | # | ||
+ | # System-Wide Abaqus Environment File | ||
+ | # | ||
+ | standard_parallel = ALL | ||
+ | mp_mode = MPI | ||
+ | scratch | ||
+ | mp_file_system = (DETECT, | ||
+ | mp_num_parallel_ftps = (4, 4) | ||
+ | mp_environment_export = (' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | |||
+ | import driverUtils, | ||
+ | #-*- mode: python -*- | ||
+ | |||
+ | ############################################################################# | ||
+ | # # | ||
+ | # Compile and Link command settings for the Linux 64 Platform | ||
+ | # ( AMD Opteron / Intel EM64T ) # | ||
+ | # # | ||
+ | ############################################################################# | ||
+ | |||
+ | import os, re, glob, driverUtils | ||
+ | |||
+ | #MPI implementation handling | ||
+ | mpiCppImpl = '' | ||
+ | mp_rsh_command = 'ssh -n -l %U %H %C' | ||
+ | mp_mpi_implementation = IMPI | ||
+ | # | ||
+ | if mp_mpi_implementation == PMPI: | ||
+ | pmpipath = driverUtils.locateFile(os.environ.get(' | ||
+ | mp_mpirun_path = {PMPI: pmpipath} | ||
+ | mpiCppImpl = ' | ||
+ | if mp_mpi_implementation == IMPI: | ||
+ | #impipath = driverUtils.locateFile(os.environ.get(' | ||
+ | impipath = driverUtils.locateFile(os.environ.get(' | ||
+ | mp_mpirun_path = {IMPI: impipath} | ||
+ | mpiCppImpl = ' | ||
+ | |||
+ | fortCmd = " | ||
+ | cppCmd | ||
+ | |||
+ | # Avoid signal trapping by the Fortran RTE | ||
+ | os.environ[" | ||
+ | # Disable messages from the Fotran RTE | ||
+ | os.environ[" | ||
+ | |||
+ | # Do not let QLogic InfiniPath driver set processor affinity. | ||
+ | os.environ[" | ||
+ | |||
+ | # Add the flag " | ||
+ | |||
+ | compile_fortran = [fortCmd, | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | |||
+ | # Additional command-line options for the Intel C/C++ Compilers: | ||
+ | # ' | ||
+ | # ' | ||
+ | |||
+ | compile_cpp = [cppCmd, | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | | ||
+ | # ' | ||
+ | # ' | ||
+ | ' | ||
+ | |||
+ | compile_fmu = [cppCmd, | ||
+ | ' | ||
+ | |||
+ | link_fmu = [cppCmd, | ||
+ | ' | ||
+ | |||
+ | link_sl = [fortCmd, | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | |||
+ | link_exe = [cppCmd, | ||
+ | ' | ||
+ | ' | ||
+ | |||
+ | # Remove the temporary names from the namespace | ||
+ | del cppCmd | ||
+ | del fortCmd | ||
+ | del mpiCppImpl | ||
+ | if mp_mpi_implementation == PMPI: | ||
+ | del pmpipath | ||
+ | if mp_mpi_implementation == IMPI: | ||
+ | del impipath | ||
+ | |||
+ | |||
+ | graphicsEnv = driverUtils.locateFile(os.environ[' | ||
+ | if graphicsEnv: | ||
+ | execfile(graphicsEnv) | ||
+ | else: | ||
+ | raise ' | ||
+ | |||
+ | del driverUtils, | ||
+ | license_server_type=FLEXNET | ||
+ | |||
+ | run_mode=INTERACTIVE | ||
+ | |||
+ | mp_host_list=((' | ||
+ | |||
+ | </ |