R: Difference between revisions

Jump to navigation Jump to search
168 bytes added ,  6 years ago
edited phrasing
(Several lines added detailing module load gcc nixpkgs)
(edited phrasing)
Line 19: Line 19:
}}  
}}  


You will also likely need to load nixpkgs and gcc
You will also likely need to load gcc
{{Command
|module load gcc/5.4.0
}}
 
You might also have to load various other modules depending on the packages you need to install. For example, "rgdal" will require that you load a module called "gdal", which itself requires that you load nixpkgs and gcc. Nixpkgs should already be loaded by default. You can ensure that it is by running
 
{{Command
|module list
}}
 
If nixpkgs is not listed, you can load it by running
 
{{Command
{{Command
|module load nixpkgs/16.09
|module load nixpkgs/16.09
|module load gcc/5.4.0
}}  
}}  


You might also have to load various other modules depending on the packages you need to install. For example, "rgdal" will require that you load a module called "gdal", which itself requires that you load nixpkgs and gcc. If any package fails to install, be sure to read the error message carefully, as it might give you some details concerning some additional modules you need to load. You can also find out if a module is dependent on any other module by running
If any package fails to install, be sure to read the error message carefully, as it might give you some details concerning some additional modules you need to load. You can also find out if a module is dependent on any other module by running
{{Command
{{Command
|module spider gdal/2.2.1
|module spider gdal/2.2.1
cc_staff
56

edits

Navigation menu