Main menu


Error running link command: No such file or directory

4 posts / 0 new
Last post
Error running link command: No such file or directory
Dear all, Have you ever seen the following error when compiling the code? Attached please kindly find the log file. System: Ubuntu 18.04.2 LTS $ create_newcase --case /opt/uio/cesm/cases/FKESSLER_190513 --compset FKESSLER --res T31_g37 --machine espresso --run-unsupported $ ./case.setup $ ./ f951: Warning: Nonexistent include directory '/opt/uio/cesm/work/FKESSLER_190513/bld/gnu/mpich/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include' [-Wmissing-include-dirs] Error running link command: No such file or directory make[2]: *** [pio/CMakeFiles/pio.dir/build.make:526: pio/libpio.a] Error 2 make[1]: *** [CMakeFiles/Makefile2:94: pio/CMakeFiles/pio.dir/all] Error 2 make: *** [Makefile:87: all] Error 2

Xiangyu Li


Hi xiangyu,

I have a similar problem (using CESM 2.1.0) alltough I'm also running into other issues. Were you able to solve this?

When I try to build a case I get warnings like: Warning: Nonexistent include directory "/work/users/tki/cesm/scratch/QPC6_test_2/bld/gnu/openmpi/nodebug/nothreads/mct/noesmf/c1a1l1i1o1r1g1w1e1/include"

But later on I run into other more serious errors so I don't know what the actual reason for the failure is.

I've attached our machine configuration and the buildlog output if you or someone else wants to look and has an idea.




THose warnings should just be warnings and not cause a failure - Tracy you didn't tell us the actual problem or post any attachments.  

CESM Software Engineer


Hi jedwards,

I hadn't seen that I have to click "display" for the attachment but it should be there now.

The error is:


                   ierr = nf90_def_var_deflate(File%fh,vardesc%varid,0,1,1)
Error: Function 'nf90_def_var_deflate' at (1) has no IMPLICIT type
make[2]: *** [pio/CMakeFiles/pio.dir/build.make:140: pio/CMakeFiles/pio.dir/nf_mod.F90.o] Error 1
make[2]: *** Waiting for unfinished jobs....



Log in or register to post comments

Who's new

  • afroberts@...
  • richard.allard@...
  • tracy@...
  • 498749303@...
  • lijundesio@...