I'm trying to run ROMS in our supercomputer and am having problems telling ROMS where the libraries are. I have netcdf-fortran and hdf5 in separate folders, and it seems like that is the problem.
I have tried to give build.bash the two folders, but despite using && or " " or ' ', it keeps telling me
./build.bash: line 298: export: `-lnetcdff': not a valid identifier
./build.bash: line 298: export: `../../../../../../packages/hdf5/1.8.19/lib': not a valid identifier
./build.bash: line 298: export: `-lnetcdf': not a valid identifier
What can I do?

Thanks in advance!
MariaJose