I'm using the school public cluster and want to include c++ library paths to the c++ compiler. I've installed boost, armadillo and so on. After make them, the program told me to add the header path to the c++ compiler. As I'm in a public cluster, how can I do that? Obviously I do not have sudo or yum authorities.
-I/home/username/where/your/directories/are/include
for headers
-L/home/username/where/your/directories/are/lib
for your libraries
From here, if you want to run your executables, you have two options:
LD_LIBRARY_PATH
with /home/username/where/your/directories/are/lib
-Wl,-rpath,/home/username/where/your/directories/are/lib
HTH