Find the answer to your Linux question:
Results 1 to 2 of 2
http://lancet.mit.edu/ga/dist/galib.tgz SDIR= .. BDIR= $(HOME)/pvm3/bin XDIR= $(BDIR)/$(PVM_ARCH) VPATH= $(SDIR) GA_INC_DIR=$(SDIR)/../.. GA_LIB_DIR=$(SDIR)/../../ga INC_DIRS= -I$(SDIR)/. -I$(GA_INC_DIR) -I${PVM_ROOT}/include LIB_DIRS= -L$(SDIR)/. -L$(GA_LIB_DIR) -L${PVM_ROOT}/lib/${PVM_ARCH} LIBS= -lpvm3 -lga -lm I've declared PVM_ROOT in .profile. When I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    4

    about include in gcc.


    http://lancet.mit.edu/ga/dist/galib.tgz

    SDIR= ..
    BDIR= $(HOME)/pvm3/bin
    XDIR= $(BDIR)/$(PVM_ARCH)
    VPATH= $(SDIR)

    GA_INC_DIR=$(SDIR)/../..
    GA_LIB_DIR=$(SDIR)/../../ga

    INC_DIRS= -I$(SDIR)/. -I$(GA_INC_DIR) -I${PVM_ROOT}/include
    LIB_DIRS= -L$(SDIR)/. -L$(GA_LIB_DIR) -L${PVM_ROOT}/lib/${PVM_ARCH}
    LIBS= -lpvm3 -lga -lm

    I've declared PVM_ROOT in .profile.
    When I do make
    it doesn't find pvm3.h which is in
    $HOME/pvm3/include
    Also the gaconfig.h is not found which is in
    /galib246/ga

    in
    $HOME/galib246/examples/pvmind
    below
    SDIR= ..
    (SDIR)/../../ga
    shouldn't it go to $HOME/ga
    other than galib/246/ga?

  2. #2
    Linux Enthusiast KenJackson's Avatar
    Join Date
    Jun 2006
    Location
    Maryland, USA
    Posts
    510
    I've declared PVM_ROOT in .profile.
    When I do make
    it doesn't find pvm3.h which is in
    $HOME/pvm3/include
    Make doesn't read environment variables. If you were depending on that, try something like this instead:
    Code:
    make PVM_ROOT=$PVM_ROOT

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •