Skip to content

Conversation

@suvarchal
Copy link
Collaborator

@suvarchal suvarchal commented Mar 11, 2025

  • fix minor typo that ended preprocessor def with !
  • add source preprocessing target that makes it easier to debug all our nested/convoluted defs like openmp/openacc.

to use preprocessor source target go to build direcory after configure,
cd build ;cmake --build . --target preprocess-sources to get pre-processes sources in dir build/preprocess

@suvarchal suvarchal marked this pull request as draft March 11, 2025 10:44
@basava70
Copy link
Collaborator

basava70 commented May 9, 2025

I did my usual
./configure.sh levante.nvhpc -DENABLE_OPENACC=ON -DDISABLE_OPENACC_ATOMICS=OFF 2>&1 | tee build_log.txt

and then cd build
cmake --build . --target preprocess-sources > preprocess
I go this error message.
Any ideas ?? @suvarchal

nvfortran-Warning-The option -Mipa has been deprecated and is ignored.

NVFORTRAN-F-0906-Can't find include file netcdf.inc (/work/ab0995/a270232/main_branch_fesom/fesom2_openacc_test/src/gen_events.F90: 98)
gmake[3]: *** [src/CMakeFiles/preprocess-sources.dir/build.make:105: preprocess-sources] Error 2
gmake[2]: *** [CMakeFiles/Makefile2:199: src/CMakeFiles/preprocess-sources.dir/all] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:206: src/CMakeFiles/preprocess-sources.dir/rule] Error 2
gmake: *** [Makefile:208: preprocess-sources] Error 2

@suvarchal suvarchal mentioned this pull request Jun 19, 2025
basava70 pushed a commit that referenced this pull request Jun 19, 2025
@JanStreffing JanStreffing added this to the FESOM 2.7 milestone Aug 19, 2025
@JanStreffing JanStreffing modified the milestones: FESOM 2.7, FESOM 2.8 Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants