i check /etc there are not .profile
. there are some files such as zlogin, profile (with out dot),
but i have .bash_profile in home directory.
actually in roms manual say that
to provide the location for the NetCDF files (and optional HDF5 library). One is by editing the corresponding lines in your system-compiler file. Another way is through the Unix environment variables. If you are always going to be using the same compiler on each system, you can edit your .profile or .login files to globally set them one way is through the Unix environment variables . Here is an example for ksh/bash:
now i am not sure that i should add these path ro ./bashrs or ./bash_profile or ..