0

I have a file which contains the following commands,

export PATH=/gpfs/home/spandrekar/cse504/build_llvm/bin:$PATH
export LIBRARY_PATH=/gpfs/home/spandrekar/cse504/build_llvm/lib:$LIBRARY_PATH
export LD_LIBRARY_PATH=/gpfs/home/spandrekar/cse504/build_llvm/lib:$LD_LIBRARY_PATH
export C_INCLUDE_PATH=/gpfs/home/spandrekar/cse504/build_llvm/projects/openmp/runtime/src:$C_INCLUDE_PATH
export CC=clang
export CXX=clang++

I need to run these everytime I login to start my project. To make things easier, I am trying to run them using the command,

bash filename

However, this doesn't seem to work. When I type these commands on the commandline, it all works fine.

What am I missing here? How can I run the commands written in the file.

sheetal_158
  • 7,391
  • 6
  • 27
  • 44

0 Answers0