[visit-users] Compiling a user database plug-in, generating Makefiles.

Brad Whitlock whitlock2 at llnl.gov
Wed Mar 31 15:13:58 EDT 2010


I think you need to use DebugStream::Stream1() now instead of debug1_real.

if(DebugStream::Level1())
       do_something(DebugStream::Stream1());

Brad


>Hi Brad,
>
>Thanks, it works ("Insert your plugin into the list of plugins to be
>built"). I'll try the other technique later, when forced to do it.
>
>The only thing is that I've got an error concerning "debug1_real" which
>I use in order to set a debuglevel variable. How can I get this variable
>in my compilation scope or can you give me an advise to set a debuglevel
>variable ?
>
>Thanks very much indeed !
>
>Sincereley,
>
>Olivier.
>
>Le mercredi 31 mars 2010 à 10:49 -0700, Brad Whitlock a écrit :
>>  >Since the installation process has changed (make package instead of
>>  >visit-bin-dist) I'm not sure of doing the installation : is there a
>>  >documentation about the new installation process, replacing
>>  >visit-install ? Can I choose the installation directory ? I already
>>
>>  See http://*www.*visitusers.org/index.php?title=Installing_using_CMake
>>
>>
>>  >compiled visit with build_visit, do I need to recompile it again as you
>>  >indicated for STEP 2 ?
>>
>>  It's possible to just rerun cmake in the VisIt src directory with the
>>  additional -DCMAKE_INSTALL_PREFIX:PATH=/path/to/install command line
>>  argument. Then just run "make install". VisIt shouldn't need to
>>  recompile.
>>
>>
>>  >Can you confirm that if I do not install my just-compiled release, I can
>>  >NOT go to Dyna3D and type "cmake ." with a valid result ?
>>
>>  That's what I've been saying.
>>
>>  If you don't want to install, try the following to build your plugin
>>  as part of VisIt's build process. Be sure to replace "MyPlugin" with
>>  the name of your plugin.
>>
>>  # Go into VisIt sources and copy your plugin directory there.
>>  cd 2.0RC_trunk
>>  cd src
>>  cd databases
>>  cp -R /path/to/MyPlugin .
>>
>>  # Insert your plugin into the list of plugins to be built
>>  mv CMakeLists.txt CMakeLists.txt.orig
>>  sed "s/Xmdv/Xmdv MyPlugin/g" CMakeLists.txt.orig > CMakeLists.txt
>>
>>  # Generate a new CMakeLists.txt for your plugin
>>  cd MyPlugin
>>  ../../bin/xml2cmake -clobber MyPlugin.xml
>>
>>  # Build through VisIt's database plugins and your plugin will be built
>>  cd ..
>>  make
>>
>>
>
>
>
>--
>List subscription information: 
>https://*email.ornl.gov/mailman/listinfo/visit-users
>Searchable list archives: https://*email.ornl.gov/pipermail/visit-users
>VisIt Users Wiki: http://*visitusers.org/
>Frequently Asked Questions for VisIt: http://*visit.llnl.gov/FAQ.html


-- 
======================================================================
Brad Whitlock                   Lawrence Livermore National Laboratory
whitlock2 at llnl.gov
(925)424-2614
======================================================================


More information about the visit-users mailing list