Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

MOZBC: permission denied while compiling

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

Dear all,
I was trying to compile mozbc after downloading and untar the tar file
I actually order this command on the terminal to compile the mozbc
-bash: ./make_mozbc: Permission denied

the error flag shows above.
Please what do I need to do

with regards
It looks to me that this question is related to WRF-Chem, so I've moved it from the MPAS-Atmosphere section of the forum to the WRF-Chem section.
Hi Julius,

This is a either (1) a permission issue with the directory you are attempting to compile, (2) the "make_mozbc" is not an executable, or (3) you are not invoking the executable correctly.

(1) Ensure you have write(w) and execute (x) permissions in the directory.
(2) Perform and "ls -l make_mozbc". Is there an x in any of these positions? (-rwxr-xr-x)? If not, perform "chmod +x make_mozbc" and try again.
(3) What shell are you using? Some shells do not require the "./" before an executable.