You are here

static version

2 posts / 0 new
Last post
static version
#1

Hello:

I am compiling version 3.5 with command:

scons bin mode=release extras=static extras=mpi -j6

it finished successfully without any errors. However, I found that all the tools are named with ***mpi, such as:

homodimer_design.mpi.linuxgccrelease

I am just wondering, with the command I used, does it also a static compiled version?

thx a lot

Category: 
Post Situation: 
Sun, 2014-05-11 02:03
albumns

I'm thinking that by adding extras on the commandline twice you overwrote the option, rather than added to it. If you want to have multiple extras, you need to specify it once with comma separation: "extras=mpi,static"

Note that in combining these two particular settings you need to be careful that the MPI libraries and environment on your system are set up for static compilation. Settings that work for dynamic linkage may not work for static linkage, and that's entirely dependent on your MPI library installation.

Mon, 2014-05-12 08:01
rmoretti