Jump to content
Geochemist's Workbench Support Forum

Advanced users: remember to relink DLLs when upgrading.


Tom Meuzelaar

Recommended Posts

Dear users:

 

If you use compiled rate law or heterogeneity functions, remember to relink your DLLs when you upgrade to GWB8. When you relink, be sure to:

 

  • Since GWB8 is multithreaded, functions should be compiled with the /MD flag.
  • Use the GWB8 header files (ratelaw_param.h, node_param.h, gwb_context.h), installed in \Program Files\GWB\src.
  • Link with a current .lib file (react.lib, x1t.lib, or x2t.lib). These are in \Program Files\GWB.
  • In functions to be used with X1t or X2t, avoid writing data to static or global variables in the C++ source. This avoids having different threads writing to and reading from the same memory location, which of course can have undesirable consequences.

 

Regards,

 

Tom Meuzelaar

RockWare, Inc.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...