Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

there are somthing wrong with ./case.build when i try to transplant from x86 to arm64

Frank Lee

Frank Lee
New Member

Dear managers​

As mentioned above.im try to transplant cesm on a arm64 system. So im using GNU compiler rather than intel.
My CESM version is 2.2.0
Before make the case, i modified xml file in machines eg. config_machines.xml config_batch.xml config_compilers.xml (.xml was transfered to .txt for upload)
In scripts, I did

./create_newcase --case test --compset FW2000climo --res f09_f09_mg17 --machine ln8
./case.setup
./case.build --skip-proveannce

Then the error:​

................
................

Building gptl with output to file /thfs4/home/heyang/wangxf/software/cesm220/cime/output/test/bld/gptl.bldlog.250428-125117
Calling /thfs4/home/heyang/wangxf/software/cesm220/cime/src/build_scripts/buildlib.gptl
ERROR: /thfs4/home/heyang/wangxf/software/cesm220/cime/src/build_scripts/buildlib.gptl FAILED, cat /thfs4/home/heyang/wangxf/software/cesm220/cime/output/test/bld/gptl.bldlog.250428-125117

When I cat​


make -f /thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing/Makefile install -C /thfs4/home/heyang/wangxf/software/cesm220/cime/output/test/bld/gnu/mpich/nodebug/nothreads/mct/gptl MACFILE=/thfs4/home/heyang/wangxf/software/cesm220/cime/scripts/test/Macros.make MODEL=gptl COMP_NAME=gptl GPTL_DIR=/thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing GPTL_LIBDIR=/thfs4/home/heyang/wangxf/software/cesm220/cime/output/test/bld/gnu/mpich/nodebug/nothreads/mct/gptl SHAREDPATH=/thfs4/home/heyang/wangxf/software/cesm220/cime/output/test/bld/gnu/mpich/nodebug/nothreads/mct CIME_MODEL=cesm SMP=FALSE CASEROOT="/thfs4/home/heyang/wangxf/software/cesm220/cime/scripts/test" CASETOOLS="/thfs4/home/heyang/wangxf/software/cesm220/cime/scripts/test/Tools" CIMEROOT="/thfs4/home/heyang/wangxf/software/cesm220/cime" COMP_INTERFACE="mct" COMPILER="gnu" DEBUG="FALSE" EXEROOT="/thfs4/home/heyang/wangxf/software/cesm220/cime/output/test/bld" INCROOT="/thfs4/home/heyang/wangxf/software/cesm220/cime/output/test/bld/lib/include" LIBROOT="/thfs4/home/heyang/wangxf/software/cesm220/cime/output/test/bld/lib" MACH="ln8" MPILIB="mpich" NINST_VALUE="c1a1l1i1o1r1g1w1i1e1" OS="LINUX" PIO_VERSION="1" SHAREDLIBROOT="/thfs4/home/heyang/wangxf/software/cesm220/cime/output/test/bld" SMP_PRESENT="FALSE" USE_ESMF_LIB="FALSE" USE_MOAB="FALSE" CAM_CONFIG_OPTS="-phys cam6 -age_of_air_trcs -chem waccm_tsmlt_mam4" COMP_LND="clm" COMPARE_TO_NUOPC="FALSE" CISM_USE_TRILINOS="FALSE" USE_TRILINOS="FALSE" USE_ALBANY="FALSE" USE_PETSC="FALSE"
make: Entering directory '/thfs4/home/heyang/wangxf/software/cesm220/cime/output/test/bld/gnu/mpich/nodebug/nothreads/mct/gptl'
/thfs4/home/heyang/wangxf/software/mpich_install/bin/mpicc -c -I/thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing -O2 -DLINUX -DMCT_INTERFACE -DHAVE_MPI /thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing/gptl.c
/thfs4/home/heyang/wangxf/software/mpich_install/bin/mpicc -c -I/thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing -O2 -DLINUX -DMCT_INTERFACE -DHAVE_MPI /thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing/GPTLutil.c
/thfs4/home/heyang/wangxf/software/mpich_install/bin/mpicc -c -I/thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing -O2 -DLINUX -DMCT_INTERFACE -DHAVE_MPI /thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing/GPTLget_memusage.c
/thfs4/home/heyang/wangxf/software/mpich_install/bin/mpicc -c -I/thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing -O2 -DLINUX -DMCT_INTERFACE -DHAVE_MPI /thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing/GPTLprint_memusage.c
/thfs4/home/heyang/wangxf/software/mpich_install/bin/mpicc -c -I/thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing -O2 -DLINUX -DMCT_INTERFACE -DHAVE_MPI /thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing/gptl_papi.c
/thfs4/home/heyang/wangxf/software/mpich_install/bin/mpicc -c -I/thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing -O2 -DLINUX -DMCT_INTERFACE -DHAVE_MPI /thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing/f_wrappers.c
/thfs4/home/heyang/wangxf/software/mpich_install/bin/mpif90 -c -I/thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing -O2 -DLINUX -DMCT_INTERFACE -DHAVE_MPI /thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing/perf_utils.F90
make: Leaving directory '/thfs4/home/heyang/wangxf/software/cesm220/cime/output/test/bld/gnu/mpich/nodebug/nothreads/mct/gptl'
/thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing/perf_utils.F90:21:7:

21 | save
| 1
Warning: Legacy Extension: Blanket SAVE statement at (1) follows previous SAVE statement
/thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing/perf_utils.F90:282:18:

282 | call MPI_BCAST(vec,lsize,MPI_INTEGER,0,comm,ierr)
| 1
......
314 | call MPI_BCAST(vec,lsize,MPI_LOGICAL,0,comm,ierr)
| 2
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/LOGICAL(4)).
make: *** [/thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing/Makefile:87: perf_utils.o] Error 1
ERROR: /thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing/perf_utils.F90:21:7:

21 | save
| 1
Warning: Legacy Extension: Blanket SAVE statement at (1) follows previous SAVE statement
/thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing/perf_utils.F90:282:18:

282 | call MPI_BCAST(vec,lsize,MPI_INTEGER,0,comm,ierr)
| 1
......
314 | call MPI_BCAST(vec,lsize,MPI_LOGICAL,0,comm,ierr)
| 2
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/LOGICAL(4)).
make: *** [/thfs4/home/heyang/wangxf/software/cesm220/cime/src/share/timing/Makefile:87: perf_utils.o] Error


I'd appreciate it if you guys helped me out with this!​

best wishes​

 

Attachments

  • config_batch.txt
    2.4 KB · Views: 0
  • config_compilers.txt
    1.1 KB · Views: 0
  • config_machines.txt
    4.1 KB · Views: 0
Top