Afficher la pageAnciennes révisionsHaut de page Cette page est en lecture seule. Vous pouvez afficher le texte source, mais ne pourrez pas le modifier. Contactez votre administrateur si vous pensez qu'il s'agit d'une erreur. ====== Altair HyperWorks ====== ===== Overview ===== ^Available on|Lumiere cluster^ ^Installed version|13.0| ^Location on the cluster|/Softs/lumiere/Hyperworks| ^Web links|[[http://www.altairhyperworks.com/hwhelp/Altair/hw11.0/help/hwsolvers/hwsolvers.htm?run_options_for_radioss.htm|User guide]]| ^Licensing|Licensed to S.Roth | ===== Usage ===== To load the software just type: <code bash> $ module load altair/HyperWorks/13.0 </code> <WRAP center round help 60%> Use ''$ALTAIR_HOME'' environment variable to access to the installation folder. </WRAP> ===== Interactive mode ===== Interactive mode is like starting graphical user interface for post/pre processing. You need to used a dedicated node for that: Connect to : ''mesoshared@univ-fcomte.fr'' using [[x2go|X2GO]] To start HyperMesh for example, after loading module hyperworks with modules, just type: <code bash> $ hm </code> ===== Batch mode with SGE ===== Connect to cluster to submit jobs: ''mesologin1.univ-fcomte.fr'' ===== MPI Execution ===== We need to start 2 jobs, for **compilation** and for **computation**. Compilation jobs will generate necessary files for the execution part. __**Compilation part** __ This phase needs a lot of memory depending on the number of SPMD parameters (**-np**) <file bash radioss_compile.sge> #!/bin/bash #$ -N radioss_compile ## script name #$ -q all.q ## queue to use #$ -l h_vmem=12G ## request memory 12g/core export OMP_NUM_THREADS=1 ## load the software module load altair/HyperWorks/13.0 ##Number of SPMD part to generate SPMD=16 cp $ALTAIR_HOME/hwsolvers/common/bin/linux64/radflex_13_linux64 . s_13.0_linux64 -input IMPACT635_0000.rad -np $SPMD </file> This will generate 16 files for the computation part (.rst). **Submit your job** <code bash> $ qsub radioss_compile.sge </code> __**Computation part (MPI)** __ <note important>You MUST provide the same number of process as SPMD value in the previous script. 16 in this example</note> <note tip>This job will be executed in parallel using MPI using 16 cores</note> <file bash radioss_compute.sge> #!/bin/bash #$ -N radioss_compute ## script name #$ -q parallel.q ## queue to use #$ -pe mpi 16 ## request 16 MPI cores #$ -l h_vmem=4G ## request memory 2g/core #$ -l radioss=1 ## for licence #$ -o compute.$JOB_ID.out #$ -V export OMP_NUM_THREADS=1 ## load the software module load altair/HyperWorks/13.0 cp $ALTAIR_HOME/hwsolvers/common/bin/linux64/radflex_13_linux64 . mpiexec.hydra -np $NSLOTS e_13.0_linux64_impi -input IMPACT635_0001.rad </file> **Submission** <code bash> $ qsub radioss_compute.sge </code> ===== Tips ===== Note that computation job depends on compilation one. SGE allows to run jobs in sequence. We first run the compilation part with name radioss_compile <code bash> $ qsub -N radioss_compile radioss_compile.sge </code> And just after : <code bash> $ qsub -hold_jid radioss_compile radioss_compute.sge </code> Put this in one script to start compilation & computation parts: <code bash> qsub -N radioss_compile radioss_compile.sge qsub -hold_jid radioss_compile radioss_compute.sge </code> hyperworks/13.txt Dernière modification : 2017/12/06 20:13de admin