ModelSEED / Model-SEED-core

The Model SEED is a tool for building, curating, and analyzing gonome-scale metabolic models. Visit the Model SEED homepage for installation instructions and full feature documentation.
http://bionet.mcs.anl.gov/index.php/Model_SEED_Homepage
Other
19 stars 10 forks source link

Configuration problems on biologin-4 #55

Closed mdejongh closed 13 years ago

mdejongh commented 13 years ago

I'm trying to configure the Model-SEED-Core on my personal account on biologin-4; I have the following entries in my BioSettings.config:

[Optimizers] includeDirectoryCPLEX=/vol/model-prod/Software/solvers/cplex/include/ilcplex/ libraryDirectoryCPLEX=/vol/model-prod/Software/solvers/cplex/lib/x86-64_sles10_4.1/static_pic/ licenceDirectoryCPLEX=/vol/model-prod/Software/solvers/cplex/access.ilm

includeDirectoryGLPK=

libraryDirectoryGLPK=

Even though the GLPK entries are commented out, I get the following errors when doing a ms-config load:

home/dejongh/Model-SEED-core/software/mfatoolkit/Source/GLPKapi.o: In function GLPKClearSolver()': GLPKapi.cpp:(.text+0x91): undefined reference to_glp_lpx_delete_prob' /home/dejongh/Model-SEED-core/software/mfatoolkit/Source/GLPKapi.o: In function GLPKInitialize()': GLPKapi.cpp:(.text+0xbf): undefined reference to_glp_lpx_create_prob' GLPKapi.cpp:(.text+0xcf): undefined reference to `_glp_lpx_set_class'

etc...

devoid commented 13 years ago

I think GLPK is required for the compilation to proceed smoothly. Here are the appropriate links:

includeDirectoryGLPK=/vol/model-prod/Software/solvers/glpk-4.38/include/ libraryDirectoryGLPK=/vol/model-prod/Software/solvers/glpk-4.38/src/.libs/

As for wether we need GLPK in the case where a user has CPLEX, I'll have to defer to Chris on that one. ~ Scott

On Mon, Oct 17, 2011 at 12:32 PM, mdejongh < reply@reply.github.com>wrote:

I'm trying to configure the Model-SEED-Core on my personal account on biologin-4; I have the following entries in my BioSettings.config:

[Optimizers]

includeDirectoryCPLEX=/vol/model-prod/Software/solvers/cplex/include/ilcplex/

libraryDirectoryCPLEX=/vol/model-prod/Software/solvers/cplex/lib/x86-64_sles10_4.1/static_pic/ licenceDirectoryCPLEX=/vol/model-prod/Software/solvers/cplex/access.ilm

includeDirectoryGLPK=

libraryDirectoryGLPK=

Even though the GLPK entries are commented out, I get the following errors when doing a ms-config load:

home/dejongh/Model-SEED-core/software/mfatoolkit/Source/GLPKapi.o: In function GLPKClearSolver()': GLPKapi.cpp:(.text+0x91): undefined reference to_glp_lpx_delete_prob' /home/dejongh/Model-SEED-core/software/mfatoolkit/Source/GLPKapi.o: In function GLPKInitialize()': GLPKapi.cpp:(.text+0xbf): undefined reference to_glp_lpx_create_prob' GLPKapi.cpp:(.text+0xcf): undefined reference to `_glp_lpx_set_class'

etc...

Reply to this email directly or view it on GitHub: https://github.com/ModelSEED/Model-SEED-core/issues/55

cshenry commented 13 years ago

You do need GLPK. At this time, you always need glpk. Not sure why those include and library lines were empty...