so I'm very new to linux scripting. In .profile I just want to load a module and then print out a message to remind me it loaded, but I'm encountering an error when I go about it in that order.
It works fine when I have:
echo "loading oracle/muscle..." module load oracle/muscle
(that is literally all that i have in .profile)
I'd prefer to have:
module load oracle/muscle echo "oracle/muscle loaded"
But when I do this and log in, I get an error back saying, "Unable to locate a modulefile for oracle/muscle". I suppose its some kind of syntax error but I couldn't find anything that really described this kind of error. Any help would be much appreciated. Thanks!!