New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error with 'ocn.base.tavg.csh' error #74
Comments
@alperaltuntas can you take a look at this? |
@wreckdump please document the version of the code you are using, your create_newcase command, and any changes you made to your case before running ./case.build. |
Sorry for the lack of information. CESM Verion : cesm2.0.0-rc.01 Any changes from original : I did 'add' my personal machine to the config_machine.xml file that is located in Thank you. |
@wreckdump Can you check if the following file exists in your local machine: If the file doesn't exist, try creating a symbolic link in
|
I didn't have it on my local machine and I did run the commands that you have provided. I tried rebuilding the case and gave me the same error messages. I did generate Does the command should be |
Does |
I guess I misunderstood your commands. I tried with
|
You should type in exactly the following: |
It returns path |
Then, try the following:
and try building again. |
Slightly different error.
|
Hmm. Can you remove the symbolic link and copy the executable instead, as follows:
|
Okay. I found out that
|
I believe your default Python version is 3. Can you check your Python version by running the following command:
If it is Python 3, you will need to switch to Python 2. As a first step, can you check whether you can run python2.7, and then execute ./case.build as follows:
|
Yep. It works. Now.... I am getting a new build error. Should I make an another Issue for this problem since the problem is not relavant to If not, here is the build log generated by the Makefile (building log :cesm.bldlog.181002-202754)
|
@wreckdump I think this latest issue (and hopefully the last one) is that lapack and blas libraries don't link properly. If you don't have these libraries, you should install them, but I would first try the following:
If it still doesn't build, you may have to install lapack and blas As an aside: @jedwards4b, Is there a more proper way to add the flags |
@alperaltuntas yes - you add them in config_compilers.xml - here is an example:
|
Is |
yes, that's correct. |
Thank you so much for the help. The case is successfully built. But, I get an error with a following message when I run the code.
I think this is the |
Find the flag appropriate for your mpirun command (try man mpirun) and replace that one with the correct one, or simply remove it - it's not a required flag. This is a result of blindly cutting and pasting instead of reading and following the porting instructions. |
Thank you. |
Hello, I have similar problems, I'm not at building case step but at case.submit step, please help me check, thank you Calling /home/CESM/components/clm//cime_config/buildnml |
Collecting the advice of @alperaltuntas from multiple comments earlier in the thread into 1 place:
|
thanks for your answers ,I input the which csh commands,the massage returned is ~/bin/csh |
thanks for your answers ,I am input which sch command,the massage returned is ~/bin/csh my version is cesm2.1.3 |
Summary of Issue: Build Error with the following messages below
Expected behavior and actual behavior: It won't build. No problem with Case.Setup .
Steps to reproduce the problem. Include externals description file(s) and link to public repository): I have no idea what the error message means. 'ocn.base.tavg.csh' is in the right directory as indicated in the error message.
What is the changeset ID of the code, and the machine you are using: Proprietary machine named Drybiscuit
have you modified the code? If so, it must be committed and available for testing: The code had not been modified
Screen output or log file showing the error message and context:
The text was updated successfully, but these errors were encountered: