Difference between revisions of "Visualization with VisIT"
| (19 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| + | ==For newer versions that support scribed I/O outputs== | ||
| + | Shortly after v5.9.0, we have successfully implemented a new mode of efficient I/O using dedicated 'scribes'. At runtime, the user needs to specify number of scribe cores (equal to # of 3D outputs variables (vectors counted as 2) plus 2), and the code, compiled without USE_OLDIO, will output combined netcdf outputs for each 3D variable and also all 2D variables in out2d*.nc. Sample 3D outputs are: salinity_*.nc, horizontalVelX_*.nc etc - note that vectors variable names end with 'X,Y'. | ||
| + | |||
| + | You can download newer versions of VisIT plugins c/o Jon Shu, DWR by following these steps: | ||
| + | |||
| + | On Windows 7 or 10: | ||
| + | |||
| + | <OL> | ||
| + | <LI>First download VisIT from [https://wci.llnl.gov/simulation/computer-codes/visit/downloads LLNL site] and install. Use default dir (and record it), e.g. | ||
| + | C:\Users\yjzhang\AppData\Local\Programs\LLNL\VisIt* | ||
| + | <LI> Make sure MS visualc++ 2012 x64 is installed. If not, google it and install and restart (this is required for using multi-core VisIT) | ||
| + | <LI>Download pre-built plug-in, developed at California Dept of Water Resource | ||
| + | |||
| + | *[https://cadwr.box.com/s/tiuaeb87ka1tb7i185l0cpf7g3da2h63 v2.13.3] | ||
| + | *[https://cadwr.box.com/s/jrj83yycyumhkf9kqod7teb7biqovmta v3.1.4] | ||
| + | |||
| + | You need to put dlls on C:\Users\your_account_name\Documents\VisIt\databases. Alternatively, please email Jon Shu at Qiang.shu@water.ca.gov and let him know the version of visit you are using. | ||
| + | <LI>After these steps, you'd be able to read in SCHISM outputs in ViSIT; look for 'SCHISM', 'gr3' format from the dropdown list. Note that the plugins also work with the old I/O (combined schout*.nc). To load in vectors, select only the 'X' file. | ||
| + | </OL> | ||
| + | |||
| + | ---- | ||
| + | |||
| + | On Linux systems: | ||
| + | |||
| + | Newer versions can be found at the master branch of [https://github.com/schism-dev/schism_visit_plugin github]. | ||
| + | |||
| + | ==For older versions that output uncombined netcdf files (schout*.nc)== | ||
| + | |||
On Windows 7 or 10: | On Windows 7 or 10: | ||
| Line 4: | Line 32: | ||
<LI>First download VisIT from [https://wci.llnl.gov/simulation/computer-codes/visit/downloads LLNL site] and install. Use default dir (and record it), e.g. | <LI>First download VisIT from [https://wci.llnl.gov/simulation/computer-codes/visit/downloads LLNL site] and install. Use default dir (and record it), e.g. | ||
C:\Users\yjzhang\AppData\Local\Programs\LLNL\VisIt* | C:\Users\yjzhang\AppData\Local\Programs\LLNL\VisIt* | ||
| − | <LI>Download pre-built plug-in, developed at California Dept of Water Resource | + | <LI>Download pre-built plug-in, developed at California Dept of Water Resource [http://ccrm.vims.edu/yinglong/Courses/Hangzhou/schism_plugin_1.2_xbeta_visit2.12.3_win64_vs2012.zip here] and put the files in: |
| − | C:\Users\yjzhang\AppData\Roaming\LLNL\VisIt\databases (create new dirs if necessary). Alternatively, please email | + | C:\Users\yjzhang\AppData\Roaming\LLNL\VisIt\databases (create new dirs if necessary). This dlls location works for VisIt 2.13.2 or below. |
| + | |||
| + | From VisIt 2.13.3, you need to put dlls on C:\Users\your_account_name\Documents\VisIt\databases. Alternatively, please email Jon Shu at Qiang.shu@water.ca.gov and let him know the version of visit you are using. Below are newer builds: | ||
| + | <UL> | ||
| + | <LI> [http://ccrm.vims.edu/yinglong/SVN_large_files/schism_plugin_with_last_wetting_update_visit2.13.3_win64_vs2012.zip plugin build for 2.13.3] | ||
| + | <LI> [http://ccrm.vims.edu/yinglong/SVN_large_files/schism_plugin_with_last_wetting_update_visit3.1.2_win64_vs2017.zip latest plugin build for visit 3.1.2] | ||
| + | |||
| + | <!--LI> [https://cadwr.box.com/s/hkic80xg7tmjhwk94aszssrp8fh6r0fu plugin build for 2.13.3] | ||
| + | <LI> [https://cadwr.box.com/s/4n8vn29zxxvnn69snlsc40fcmbvk54aa latest plugin build for visit 3.1.2] --> | ||
| + | </UL> | ||
| + | <LI> If the 3.1.2 plugin doesn't work on your pc, for example "SCHISM" option doesn't show up on VisIt file type menu, there are two possible causes. One cause is that your VisIt don't have netcdf_c++.dll. You can copy this file from VisIt 2.13.x to VisIt 3.1.2. Another cause is that your pc don't have MS VC++ 2017 or MS VC++ 2013 redistributable. You can download it from MS webpage. | ||
<LI>If you use SCHISM v5.6.1 (netcdf I/O), note that VisIT has issues with stack overflow with nc4, so you need to do the following work-around until LLNL fixes the issue: | <LI>If you use SCHISM v5.6.1 (netcdf I/O), note that VisIT has issues with stack overflow with nc4, so you need to do the following work-around until LLNL fixes the issue: | ||
<UL> | <UL> | ||
| Line 14: | Line 52: | ||
<LI>After these steps, you'd be able to read in SCHISM outputs in ViSIT; look for 'SCHISM', 'gr3' format from the dropdown list. | <LI>After these steps, you'd be able to read in SCHISM outputs in ViSIT; look for 'SCHISM', 'gr3' format from the dropdown list. | ||
</OL> | </OL> | ||
| + | |||
| + | ---- | ||
| + | |||
| + | On Linux systems: | ||
| + | |||
| + | Use svn or directly download the source code [http://columbia.vims.edu/schism/schism_visit_plugin/tags/v2.2.0 here]. | ||
| + | |||
| + | After compilation this can be used with VisIT version 2.12.2 to 2.13.3. | ||
| + | |||
| + | Newer versions can be found at [https://github.com/schism-dev/schism_visit_plugin github]. | ||
Latest revision as of 15:37, 26 September 2022
For newer versions that support scribed I/O outputs
Shortly after v5.9.0, we have successfully implemented a new mode of efficient I/O using dedicated 'scribes'. At runtime, the user needs to specify number of scribe cores (equal to # of 3D outputs variables (vectors counted as 2) plus 2), and the code, compiled without USE_OLDIO, will output combined netcdf outputs for each 3D variable and also all 2D variables in out2d*.nc. Sample 3D outputs are: salinity_*.nc, horizontalVelX_*.nc etc - note that vectors variable names end with 'X,Y'.
You can download newer versions of VisIT plugins c/o Jon Shu, DWR by following these steps:
On Windows 7 or 10:
- First download VisIT from LLNL site and install. Use default dir (and record it), e.g. C:\Users\yjzhang\AppData\Local\Programs\LLNL\VisIt*
- Make sure MS visualc++ 2012 x64 is installed. If not, google it and install and restart (this is required for using multi-core VisIT)
- Download pre-built plug-in, developed at California Dept of Water Resource You need to put dlls on C:\Users\your_account_name\Documents\VisIt\databases. Alternatively, please email Jon Shu at Qiang.shu@water.ca.gov and let him know the version of visit you are using.
- After these steps, you'd be able to read in SCHISM outputs in ViSIT; look for 'SCHISM', 'gr3' format from the dropdown list. Note that the plugins also work with the old I/O (combined schout*.nc). To load in vectors, select only the 'X' file.
On Linux systems:
Newer versions can be found at the master branch of github.
For older versions that output uncombined netcdf files (schout*.nc)
On Windows 7 or 10:
- First download VisIT from LLNL site and install. Use default dir (and record it), e.g. C:\Users\yjzhang\AppData\Local\Programs\LLNL\VisIt*
- Download pre-built plug-in, developed at California Dept of Water Resource here and put the files in: C:\Users\yjzhang\AppData\Roaming\LLNL\VisIt\databases (create new dirs if necessary). This dlls location works for VisIt 2.13.2 or below. From VisIt 2.13.3, you need to put dlls on C:\Users\your_account_name\Documents\VisIt\databases. Alternatively, please email Jon Shu at Qiang.shu@water.ca.gov and let him know the version of visit you are using. Below are newer builds:
- If the 3.1.2 plugin doesn't work on your pc, for example "SCHISM" option doesn't show up on VisIt file type menu, there are two possible causes. One cause is that your VisIt don't have netcdf_c++.dll. You can copy this file from VisIt 2.13.x to VisIt 3.1.2. Another cause is that your pc don't have MS VC++ 2017 or MS VC++ 2013 redistributable. You can download it from MS webpage.
- If you use SCHISM v5.6.1 (netcdf I/O), note that VisIT has issues with stack overflow with nc4, so you need to do the following work-around until LLNL fixes the issue:
- Go to UCAR and get their installer for the latest C library, e.g. 4.5.0;
- Complete the installation and record the install dir. Then copy all files in bin/ of the install dir to the VisIT dir in (1) to overwrite.
- After these steps, you'd be able to read in SCHISM outputs in ViSIT; look for 'SCHISM', 'gr3' format from the dropdown list.
On Linux systems:
Use svn or directly download the source code here.
After compilation this can be used with VisIT version 2.12.2 to 2.13.3.
Newer versions can be found at github.