This is an old revision of the document!
Don't do it. Just don't do it. OK. If you have to do it, may your god(s) have mercy on your soul. Try to do this:
intel/compiler/64/***
, intel/mkl/64/***
, and intel-mpi/64/***
. Makefile
in /cm/shared/apps/VASP/src/vasp.5.3
as a guide.
Modules are pretty easy when you get the hang of them. Basically all these $<VARIABLES>
can be set in them, so that the user doesn't have to have big .bashrc
entries.
As a starting point, look into the existing modulefiles at /cm/shared/modulefiles
. Whatever is listed here get read out on a module avail
call.
To write your own modules, take an existing modulefile (for all that tcl messaging at the beginning), and modify it according to this handy information. A workable template goes something like:
Blah.