Error in compiling code

@cjcoats @wong.david-c @lizadams @bbaek

Please, I need your help. I am trying to compile a code by issuing this command:

gfortran -fopenmp -I/home/catalyst/Desktop/Build_WRF/LIBRARIES/ioapi-3.2/ioapi -o makecatalyst makecatalyst.f -L/home/catalyst/Desktop/Build_WRF/LIBRARIES/ioapi-3.2/Linux2_x86_64gfort -lioapi -lnetcdff -lnetcdf

but it was not compiled as I got error.

Is there anything missing that I should do or any other command to be used for its successful compilation?

Thanks for your usual help and best regards,

What is the error (or errors)?

What are all the (non-library) codes that go into this program (and are there additional subroutines, functions, or INCLUDE-files)?

1 Like

Hi Catalyst,

Please check the error messages provided by the compiler. Adjustment your makefile accordingly. For example if the compiler said certain library was not found, then check the path in the makefile to see it is correct or not.

1 Like

Catalyst –
Please read this post.

Dear @cjcoats @wong.david-c @cgnolte

I have been able to compile the code successfully and it’s working perfectly now.

Thanks so much for your prompt responses, guide and help.

Best regards sir,