Closed climbfuji closed 4 years ago
@climbfuji Did this use to work with previous code? When did it last work? @uturuncoglu Can you please take a look at this?
@climbfuji Did this use to work with previous code? When did it last work? @uturuncoglu Can you please take a look at this?
Maybe it has to do with the node type I chose this time, it's got four CPUs - in any case the app must be able to handle situations where a user has four CPUs.
@climbfuji Could you try following? If it works I could make the changes in the interface. BTW, the current default is 8 core for linux and I think we decide like that in 1.0 release. Also, I think there is no way to run the model less than 6 core. What would be the layout combination for it? Anyway, if you want to run with 8 core,
<grid name="a%C96">
<mach name="linux">
<pes pesize="any" compset="ufsatm">
<comment>none</comment>
<ntasks>
<ntasks_atm>8</ntasks_atm>
</ntasks>
<nthrds>
<nthrds_atm>1</nthrds_atm>
</nthrds>
</pes>
</mach>
</grid>
so, you need to remove one of them. I will remove those duplicate entries if you have successful run.
@climbfuji Could you try following? If it works I could make the changes in the interface. BTW, the current default is 8 core for linux and I think we decide like that in 1.0 release. Also, I think there is no way to run the model less than 6 core. What would be the layout combination for it? Anyway, if you want to run with 8 core,
- go to src/model/FV3/cime/cime_config
- edit config_pes.xml
- there are two entry for following
<grid name="a%C96"> <mach name="linux"> <pes pesize="any" compset="ufsatm"> <comment>none</comment> <ntasks> <ntasks_atm>8</ntasks_atm> </ntasks> <nthrds> <nthrds_atm>1</nthrds_atm> </nthrds> </pes> </mach> </grid>
so, you need to remove one of them. I will remove those duplicate entries if you have successful run.
Thanks, @uturuncoglu I will try this. Maybe it's got nothing to do with the number of cores on the node after all, but just with this duplicate entry. On macOS, we only have two cores but still run 6 MPI tasks on them. Similar, on Linux, we simply oversubscribe if needed.
@climbfuji Could you try following? If it works I could make the changes in the interface. BTW, the current default is 8 core for linux and I think we decide like that in 1.0 release. Also, I think there is no way to run the model less than 6 core. What would be the layout combination for it? Anyway, if you want to run with 8 core,
- go to src/model/FV3/cime/cime_config
- edit config_pes.xml
- there are two entry for following
<grid name="a%C96"> <mach name="linux"> <pes pesize="any" compset="ufsatm"> <comment>none</comment> <ntasks> <ntasks_atm>8</ntasks_atm> </ntasks> <nthrds> <nthrds_atm>1</nthrds_atm> </nthrds> </pes> </mach> </grid>
so, you need to remove one of them. I will remove those duplicate entries if you have successful run.
Thanks, @uturuncoglu I will try this. Maybe it's got nothing to do with the number of cores on the node after all, but just with this duplicate entry. On macOS, we only have two cores but still run 6 MPI tasks on them. Similar, on Linux, we simply oversubscribe if needed.
@uturuncoglu removing the duplicate entry solves this particular problem, I was able to create the case. Now proceeding.
@climbfuji okay. that is great. I'll push the change to my branch and it will be available in the final PR.
On both Redhat 8 and Ubuntu 18, I get
I am using x2.large instances with four cores.