You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am in the early stages of developing an external database plugin for VisIt, and I have encountered many issues with the bundled tools and a lack of current documentation and feedback from VisIt developers. Your repository is one of a few current/active public efforts for developing a plugin that I could find. Do you know if the support for external database plugins is still maintained by VisIt?
We were able to compile and run our own skeleton plugin on VisIt 2.13.1 on a RHEL cluster after many headaches and manual edits of the build.cmake files to remove erroneous targets that caused make errors. However, we have not been able to build the plugin against VisIt on any macOS system.
I know your documentation recommends using VisIt 2.11 when building your plugin on macOS, but I was hoping to get some more details about this recommendation. And I wanted to report what happens when I try to compile your plugin on macOS 10.13.6 with CMake 3.12.1 and VisIt 2.13.2 (both installed via Homebrew). Any background info you can be provide would be much appreciated!
Actual behavior description
The cmake command completes with warnings, but the make command exits with errors due to incorrect/long linking paths in build.make files. See below collapsible output from both command.
I am not proficient with CMake, but the issue appears to be due to a mangled path (referencing the griffin28/ user’s home directory, who presumably compiled the .dmg that they distribute?) caused by the following line in CMakeLists.txt used to identify the library info of the installed VisIt that we are building against :
I found this November 2016 email on the visit-users mailing list that describes the same issue that we are having. Unfortunately, no VisIt developers replied to the inquiry.
Also FYI, the header to docs/installation/macos.md incorrectly identifies the OS as Ubuntu.
Command output:
K-MBP% cmake -DCMAKE_BUILD_TYPE:STRING=Debug
-- The C compiler identification is AppleClang 9.1.0.9020039
-- The CXX compiler identification is AppleClang 9.1.0.9020039
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/kfelker/Desktop/openPMD-visit-plugin
K-MBP% make
Scanning dependencies of target EOpenPMDDatabase_ser
[ 3%] Building CXX object CMakeFiles/EOpenPMDDatabase_ser.dir/OpenPMDEnginePluginInfo.C.o
[ 6%] Building CXX object CMakeFiles/EOpenPMDDatabase_ser.dir/OpenPMDPluginInfo.C.o
[ 10%] Building CXX object CMakeFiles/EOpenPMDDatabase_ser.dir/OpenPMDCommonPluginInfo.C.o
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/OpenPMDCommonPluginInfo.C:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtGenericDatabase.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtVariableCache.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationStringKey.h:24:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationKey.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:94:12: warning: 'OSAtomicIncrement32Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_fetch_add() from <atomic> instead [-Wdeprecated-declarations]
return OSAtomicIncrement32Barrier(&this->Value);
^
/usr/include/libkern/OSAtomicDeprecated.h:182:9: note: 'OSAtomicIncrement32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicIncrement32Barrier( volatile int32_t *__theValue );
^
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/OpenPMDCommonPluginInfo.C:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtGenericDatabase.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtVariableCache.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationStringKey.h:24:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationKey.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:108:12: warning: 'OSAtomicDecrement32Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_fetch_sub() from <atomic> instead [-Wdeprecated-declarations]
return OSAtomicDecrement32Barrier(&this->Value);
^
/usr/include/libkern/OSAtomicDeprecated.h:201:9: note: 'OSAtomicDecrement32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicDecrement32Barrier( volatile int32_t *__theValue );
^
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/OpenPMDCommonPluginInfo.C:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtGenericDatabase.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtVariableCache.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationStringKey.h:24:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationKey.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:122:12: warning: 'OSAtomicAdd32Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_fetch_add() from <atomic> instead [-Wdeprecated-declarations]
return OSAtomicAdd32Barrier(val, &this->Value);
^
/usr/include/libkern/OSAtomicDeprecated.h:161:9: note: 'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
^
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/OpenPMDCommonPluginInfo.C:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtGenericDatabase.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtVariableCache.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationStringKey.h:24:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationKey.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:137:5: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_compare_exchange_strong() from <atomic> instead [-Wdeprecated-declarations]
OSAtomicCompareAndSwap32Barrier(retval, this->Value, &retval);
^
/usr/include/libkern/OSAtomicDeprecated.h:518:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue );
^
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/OpenPMDCommonPluginInfo.C:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtGenericDatabase.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtVariableCache.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationStringKey.h:24:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationKey.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:154:5: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_compare_exchange_strong() from <atomic> instead [-Wdeprecated-declarations]
OSAtomicCompareAndSwap32Barrier(this->Value, val, &this->Value);
^
/usr/include/libkern/OSAtomicDeprecated.h:518:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue );
^
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/OpenPMDCommonPluginInfo.C:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtGenericDatabase.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtVariableCache.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationStringKey.h:24:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationKey.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:210:12: warning: 'OSAtomicIncrement64Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_fetch_add() from <atomic> instead [-Wdeprecated-declarations]
return OSAtomicIncrement64Barrier(&this->Value);
^
/usr/include/libkern/OSAtomicDeprecated.h:269:9: note: 'OSAtomicIncrement64Barrier' has been explicitly marked deprecated here
int64_t OSAtomicIncrement64Barrier( volatile OSAtomic_int64_aligned64_t *__theValue );
^
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/OpenPMDCommonPluginInfo.C:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtGenericDatabase.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtVariableCache.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationStringKey.h:24:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationKey.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:224:12: warning: 'OSAtomicDecrement64Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_fetch_sub() from <atomic> instead [-Wdeprecated-declarations]
return OSAtomicDecrement64Barrier(&this->Value);
^
/usr/include/libkern/OSAtomicDeprecated.h:288:9: note: 'OSAtomicDecrement64Barrier' has been explicitly marked deprecated here
int64_t OSAtomicDecrement64Barrier( volatile OSAtomic_int64_aligned64_t *__theValue );
^
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/OpenPMDCommonPluginInfo.C:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtGenericDatabase.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtVariableCache.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationStringKey.h:24:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationKey.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:238:12: warning: 'OSAtomicAdd64Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_fetch_add() from <atomic> instead [-Wdeprecated-declarations]
return OSAtomicAdd64Barrier(val, &this->Value);
^
/usr/include/libkern/OSAtomicDeprecated.h:247:9: note: 'OSAtomicAdd64Barrier' has been explicitly marked deprecated here
int64_t OSAtomicAdd64Barrier( int64_t __theAmount,
^
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/OpenPMDCommonPluginInfo.C:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtGenericDatabase.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtVariableCache.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationStringKey.h:24:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationKey.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:253:3: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_compare_exchange_strong() from <atomic> instead [-Wdeprecated-declarations]
OSAtomicCompareAndSwap64Barrier(retval, this->Value, &retval);
^
/usr/include/libkern/OSAtomicDeprecated.h:645:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue,
^
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/OpenPMDCommonPluginInfo.C:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtGenericDatabase.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/visit/avt/Database/Database/avtVariableCache.h:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationStringKey.h:24:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkInformationKey.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:270:3: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_compare_exchange_strong() from <atomic> instead [-Wdeprecated-declarations]
OSAtomicCompareAndSwap64Barrier(this->Value, val, &this->Value);
^
/usr/include/libkern/OSAtomicDeprecated.h:645:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue,
^
10 warnings generated.
[ 13%] Building CXX object CMakeFiles/EOpenPMDDatabase_ser.dir/OpenPMDClasses/PMDParticle.C.o
/Users/kfelker/Desktop/openPMD-visit-plugin/OpenPMDClasses/PMDParticle.C:1206:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
1 warning generated.
[ 17%] Building CXX object CMakeFiles/EOpenPMDDatabase_ser.dir/OpenPMDClasses/PMDField.C.o
[ 20%] Building CXX object CMakeFiles/EOpenPMDDatabase_ser.dir/OpenPMDClasses/PMDIteration.C.o
[ 24%] Building CXX object CMakeFiles/EOpenPMDDatabase_ser.dir/OpenPMDClasses/PMDFile.C.o
[ 27%] Building CXX object CMakeFiles/EOpenPMDDatabase_ser.dir/avtOpenPMDFileFormat.C.o
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/avtOpenPMDFileFormat.C:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkFloatArray.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkDataArray.h:38:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAbstractArray.h:45:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObject.h:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:94:12: warning: 'OSAtomicIncrement32Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_fetch_add() from <atomic> instead [-Wdeprecated-declarations]
return OSAtomicIncrement32Barrier(&this->Value);
^
/usr/include/libkern/OSAtomicDeprecated.h:182:9: note: 'OSAtomicIncrement32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicIncrement32Barrier( volatile int32_t *__theValue );
^
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/avtOpenPMDFileFormat.C:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkFloatArray.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkDataArray.h:38:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAbstractArray.h:45:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObject.h:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:108:12: warning: 'OSAtomicDecrement32Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_fetch_sub() from <atomic> instead [-Wdeprecated-declarations]
return OSAtomicDecrement32Barrier(&this->Value);
^
/usr/include/libkern/OSAtomicDeprecated.h:201:9: note: 'OSAtomicDecrement32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicDecrement32Barrier( volatile int32_t *__theValue );
^
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/avtOpenPMDFileFormat.C:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkFloatArray.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkDataArray.h:38:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAbstractArray.h:45:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObject.h:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:122:12: warning: 'OSAtomicAdd32Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_fetch_add() from <atomic> instead [-Wdeprecated-declarations]
return OSAtomicAdd32Barrier(val, &this->Value);
^
/usr/include/libkern/OSAtomicDeprecated.h:161:9: note: 'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
^
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/avtOpenPMDFileFormat.C:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkFloatArray.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkDataArray.h:38:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAbstractArray.h:45:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObject.h:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:137:5: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_compare_exchange_strong() from <atomic> instead [-Wdeprecated-declarations]
OSAtomicCompareAndSwap32Barrier(retval, this->Value, &retval);
^
/usr/include/libkern/OSAtomicDeprecated.h:518:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue );
^
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/avtOpenPMDFileFormat.C:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkFloatArray.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkDataArray.h:38:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAbstractArray.h:45:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObject.h:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:154:5: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_compare_exchange_strong() from <atomic> instead [-Wdeprecated-declarations]
OSAtomicCompareAndSwap32Barrier(this->Value, val, &this->Value);
^
/usr/include/libkern/OSAtomicDeprecated.h:518:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue );
^
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/avtOpenPMDFileFormat.C:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkFloatArray.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkDataArray.h:38:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAbstractArray.h:45:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObject.h:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:210:12: warning: 'OSAtomicIncrement64Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_fetch_add() from <atomic> instead [-Wdeprecated-declarations]
return OSAtomicIncrement64Barrier(&this->Value);
^
/usr/include/libkern/OSAtomicDeprecated.h:269:9: note: 'OSAtomicIncrement64Barrier' has been explicitly marked deprecated here
int64_t OSAtomicIncrement64Barrier( volatile OSAtomic_int64_aligned64_t *__theValue );
^
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/avtOpenPMDFileFormat.C:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkFloatArray.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkDataArray.h:38:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAbstractArray.h:45:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObject.h:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:224:12: warning: 'OSAtomicDecrement64Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_fetch_sub() from <atomic> instead [-Wdeprecated-declarations]
return OSAtomicDecrement64Barrier(&this->Value);
^
/usr/include/libkern/OSAtomicDeprecated.h:288:9: note: 'OSAtomicDecrement64Barrier' has been explicitly marked deprecated here
int64_t OSAtomicDecrement64Barrier( volatile OSAtomic_int64_aligned64_t *__theValue );
^
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/avtOpenPMDFileFormat.C:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkFloatArray.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkDataArray.h:38:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAbstractArray.h:45:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObject.h:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:238:12: warning: 'OSAtomicAdd64Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_fetch_add() from <atomic> instead [-Wdeprecated-declarations]
return OSAtomicAdd64Barrier(val, &this->Value);
^
/usr/include/libkern/OSAtomicDeprecated.h:247:9: note: 'OSAtomicAdd64Barrier' has been explicitly marked deprecated here
int64_t OSAtomicAdd64Barrier( int64_t __theAmount,
^
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/avtOpenPMDFileFormat.C:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkFloatArray.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkDataArray.h:38:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAbstractArray.h:45:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObject.h:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:253:3: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_compare_exchange_strong() from <atomic> instead [-Wdeprecated-declarations]
OSAtomicCompareAndSwap64Barrier(retval, this->Value, &retval);
^
/usr/include/libkern/OSAtomicDeprecated.h:645:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue,
^
In file included from /Users/kfelker/Desktop/openPMD-visit-plugin/avtOpenPMDFileFormat.C:54:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkFloatArray.h:30:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkDataArray.h:38:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAbstractArray.h:45:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObject.h:42:
In file included from /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkObjectBase.h:44:
/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/include/vtk/vtk-6.1/vtkAtomicInt.h:270:3: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_compare_exchange_strong() from <atomic> instead [-Wdeprecated-declarations]
OSAtomicCompareAndSwap64Barrier(this->Value, val, &this->Value);
^
/usr/include/libkern/OSAtomicDeprecated.h:645:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue,
^
10 warnings generated.
make[2]: stat: /Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/Users/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/griffin28/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/Documents/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/WCI/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/ASQ/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/VisIt/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/masonry/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/mbuild-visit-2.13.2-darwin-x86_64/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/thirdparty_shared/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/visit/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/zlib/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/1.2.7/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/darwin-x86_64/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/lib/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/libz.dylib: File name too long
make[2]: *** No rule to make target '/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/Users/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/griffin28/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/Documents/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/WCI/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/ASQ/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/VisIt/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/masonry/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/mbuild-visit-2.13.2-darwin-x86_64/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/thirdparty_shared/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/visit/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/zlib/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/1.2.7/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/darwin-x86_64/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/lib/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/lib/libz.dylib', needed by '/Applications/VisIt.app/Contents/Resources/2.13.2/darwin-x86_64/plugins/databases/libEOpenPMDDatabase_ser.dylib'. Stop.
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/EOpenPMDDatabase_ser.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
The text was updated successfully, but these errors were encountered:
I am in the early stages of developing an external database plugin for VisIt, and I have encountered many issues with the bundled tools and a lack of current documentation and feedback from VisIt developers. Your repository is one of a few current/active public efforts for developing a plugin that I could find. Do you know if the support for external database plugins is still maintained by VisIt?
We were able to compile and run our own skeleton plugin on VisIt 2.13.1 on a RHEL cluster after many headaches and manual edits of the
build.cmake
files to remove erroneous targets that causedmake
errors. However, we have not been able to build the plugin against VisIt on any macOS system.I know your documentation recommends using VisIt 2.11 when building your plugin on macOS, but I was hoping to get some more details about this recommendation. And I wanted to report what happens when I try to compile your plugin on macOS 10.13.6 with CMake 3.12.1 and VisIt 2.13.2 (both installed via Homebrew). Any background info you can be provide would be much appreciated!
Actual behavior description
The
cmake
command completes with warnings, but themake
command exits with errors due to incorrect/long linking paths inbuild.make
files. See below collapsible output from both command.I am not proficient with CMake, but the issue appears to be due to a mangled path (referencing the
griffin28/
user’s home directory, who presumably compiled the.dmg
that they distribute?) caused by the following line inCMakeLists.txt
used to identify the library info of the installed VisIt that we are building against :I found this November 2016 email on the visit-users mailing list that describes the same issue that we are having. Unfortunately, no VisIt developers replied to the inquiry.
Also FYI, the header to
docs/installation/macos.md
incorrectly identifies the OS as Ubuntu.Command output:
The text was updated successfully, but these errors were encountered: