Environmental variable and options specified in my job script are not reflected to my computation.

In your job script, you can set up environmental variable and options using setenv command. However, when you execute parallel job at multiple nodes, they are not reflected to all slave nodes.
 

In this case, please use the NQSII option '-v' in the job script as follows.

#PBS -v [environment variable or options]=[value]