Skip to content

Conversation

@ejarvine
Copy link
Contributor

Kolme uutta filettä ansys.md, abaqus.md, lsdyna.md

@Nortamo
Copy link
Collaborator

Nortamo commented Oct 24, 2019

File refs in #183 and #184

Copy link
Collaborator

@Nortamo Nortamo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be merged after the permissions and style are fixed


There is available an example of **batch job file** on Puhti server:

/appl/soft/eng/lsdyna/example_batch_job_files/parjob_puhti_lsdyna
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This example is not readable
-rwx------. 1 eskoj p_installation

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected.

Comment on lines +26 to +30
Ansys CFX: /appl/soft/eng/ansys_inc/example_batch_job_files/parjob_puhti_cfx

Ansys Fluent: /appl/soft/eng/ansys_inc/example_batch_job_files/parjob_puhti_fluent

Ansys Structural: /appl/soft/eng/ansys_inc/example_batch_job_files/parjob_puhti_struct
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These batch job script do not conform to the style guidelines:

  • Short flags should be changed to long flags
  • There is no point in setting --ntasks-per-node=4 after we already set -n and -N (it will have no effect.)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is short/long flag?
ntasks-per-node is in purpose there. Indeed, it is not needed in the test case, but important flag (flag ;-) when fitting some maybe bigger job in.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moi,

[asillanp@puhti-login1 ~]$ more /appl/soft/eng/ansys_inc/example_batch_job_files/parjob_puhti_struct
#!/bin/bash -l
#SBATCH -J structTest
#SBATCH -e %j.err
#SBATCH -o %j.out
#SBATCH -N 1
#SBATCH -n 4
#SBATCH --ntasks-per-node=4
#SBATCH --time=00:10:00
#SBATCH --partition=test
#SBATCH --account=project_XXXXXX

ainakin tuossa on puolet lyhyitä ja puolet pitkiä vipuja. Tarkoitus on käyttää pelkästään pitkiä. Eikö tuo lisäksi ole outoa pyytää sekä ntasks että ntasks-per-node? En keksi muuta syytä tuohon kuin jos haluat käyttää vain osan useammasta solmusta (tuskin järkevää?). Eikö paras tapa olisi --nodes=X ja --ntasks-per-node=40, isoihin töihin ja --nodes=1 ja --ntasks-per-node=<1-40> pienempiin?

Projekti piti kans olla muodossa (kaikkien nimi ei ole tuota muotoa mikä on yllä)

Terveisin,
Atte

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, now I understood - flags in the batch job files. => corrected.

This was referenced Oct 24, 2019
@attesillanpaa attesillanpaa merged commit 32b03b1 into master Nov 1, 2019
@galfthan galfthan deleted the eskoj_br3 branch November 12, 2019 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants