If you are a new user, please take a look at this thread. All questions related to the download of the COHERENS code, the installation and how to run the pre-installed test cases are to be posted here. Experienced users are also encouraged to take a look at this forum to help newbies.

I am a newbie in linux system and don't know too much about how to compile a source code. Would anyone please to make an instruction step by step to install coherens in a new clean ubuntu 16.04 LTS system including installation of libraries needed like NetCDF, etc.
I prefer to use gfortran as my compiler.

Hi Hani,
I think you did not install a test case, so the program lacks some user defined input, to install the bohai test case:
COHERENS/install_test -t bohai
Make sure to double check the coherensflags files, cause after each install_test command it gets overwritten. Before running the program check what files are added, these are typically the ones you as a user need to change.
Hope it works out,
Kat

Thanks a lot for your help. I have tried to install the test case
COHERENS/install_test -t bohai
but I still can't make the executable file. I use ubuntu 16.04 and want to build coherens with gfortran compiler. I also show my terminal log, my nc-config, compilers.cmp and coherensflag.cmp.
Hopefully, you can help me. Thank you very much.

Dear Hani,
This indeed is a netcdf problem. The only thing I find peculiar is that your netcdf directory or NETCDF_PATH = /, because typically this is installed under /usr of /usr/local. So I recommend that you double check if your netcdf files are indeed installed under /lib and /include. But for the rest it seems like you did nothing wrong.