Skip to content

Compilation on LUMI #357

@whornsby82

Description

@whornsby82

Hello,
ive now got access to LUMI in Finland, which is a small Frontier. Ive used the Frontier build settings and the modules are the same on LUMI, the loaded modules are:

`Currently Loaded Modules:

  1. libfabric/1.15.2.0 6) ModuleLabel/label (S) 11) cray-libsci/23.09.1.1 16) cray-mpich/8.1.27
  2. craype-network-ofi 7) lumi-tools/23.11 (S) 12) PrgEnv-cray/8.4.0 17) cray-parallel-netcdf/1.12.3.7
  3. perftools-base/23.09.0 8) init-lumi/0.2 (S) 13) craype-accel-amd-gfx90a 18) rocm/5.2.3
  4. xpmem/2.5.2-2.4_3.50__gd0f7936.shasta 9) craype/2.7.23 14) craype-x86-milan
  5. cce/16.0.1 10) cray-dsmml/0.2.2 15) cray-python/3.10.10

Where:
S: Module is Sticky, requires --force to unload or purge`

And i've set the parameter HIPFORT_DIR=/opt/rocm/hipfort/

But I get the following error when compiling (on the front end)

`ftn -J /users/wihornsby/gacode/modules -homp -hacc -DHIPGPU -DGACODE_GPU_AMD -I/opt/rocm/hipfort///include/hipfort/amdgcn -hacc_model=auto_async_none:no_fast_addr:no_deep_copy -s real64 -Ofast -c cgyro.f90

use cgyro_globals
^
ftn-894 ftn: ERROR CGYRO, File = cgyro.f90, Line = 4, Column = 7
Module "CGYRO_GLOBALS" has compile errors, therefore declarations obtained from the module via the USE statement may be incomplete.

use cgyro_io
^
ftn-894 ftn: ERROR CGYRO, File = cgyro.f90, Line = 5, Column = 7
Module "CGYRO_IO" has compile errors, therefore declarations obtained from the module via the USE statement may be incomplete.`

Do you have any hints? Does one need to compile on a compute node? When I try this there is no rocm module.

Many thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions