Skip to content

Conversation

@ax3l
Copy link
Member

@ax3l ax3l commented Jan 13, 2026

The CMake Generator line for 64bit build was outdated and does not include the architecture anymore.


Use force to address for the legacy_datasets.tar

Move-Item : Cannot create a file when that file already exists.
At C:\projects\openpmd-api\share\openPMD\download_samples.ps1:30 char:1
+ Move-Item -Path legacy_datasets\* samples\git-sample\legacy\
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (C:\projects\ope...5.0-hdf5-plugin:DirectoryInfo) [Move-Item], IOException
    + FullyQualifiedErrorId : MoveDirectoryItemIOError,Microsoft.PowerShell.Commands.MoveItemCommand

@ax3l ax3l added this to the 0.17.0 milestone Jan 13, 2026
@ax3l ax3l requested a review from franzpoeschel January 13, 2026 18:30
@ax3l ax3l added the continuous deployment automated shipping label Jan 13, 2026
@ax3l ax3l force-pushed the fix-move-force-ps1 branch 2 times, most recently from e22c79f to 19d9bb9 Compare January 14, 2026 18:21
@ax3l ax3l changed the title Fix download_samples.ps1 Move Fix AppVeyor 64bit build Jan 14, 2026
@ax3l ax3l added continuous integration and removed continuous deployment automated shipping labels Jan 14, 2026
@ax3l ax3l force-pushed the fix-move-force-ps1 branch from 19d9bb9 to 0d6c9a2 Compare January 14, 2026 18:27
ax3l added 2 commits January 14, 2026 11:59
Use force to address for tge `legacy_datasets.tar`
```
Move-Item : Cannot create a file when that file already exists.
At C:\projects\openpmd-api\share\openPMD\download_samples.ps1:30 char:1
+ Move-Item -Path legacy_datasets\* samples\git-sample\legacy\
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (C:\projects\ope...5.0-hdf5-plugin:DirectoryInfo) [Move-Item], IOException
    + FullyQualifiedErrorId : MoveDirectoryItemIOError,Microsoft.PowerShell.Commands.MoveItemCommand
```
Architecture not part of `-G` anymore, maybe `-A x64`
Copy link
Contributor

@franzpoeschel franzpoeschel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've pushed a fix for the build error, hoping that the CI will pass, if yes, then this looks good. Thank you!

@ax3l
Copy link
Member Author

ax3l commented Jan 23, 2026

Yay, only to fails left:

Unittest.py

5: ======================================================================
5: ERROR: testConstantRecords (API.APITest.APITest)
5: ----------------------------------------------------------------------
5: Traceback (most recent call last):
5:   File "C:\projects\openpmd-api\test\python\unittest\API\APITest.py", line 742, in testConstantRecords
5:     self.makeConstantRoundTrip(ext)
5:   File "C:\projects\openpmd-api\test\python\unittest\API\APITest.py", line 598, in makeConstantRoundTrip
5:     ms["int32"][SCALAR].reset_dataset(DS(np.dtype("int32"), extent))
5: RuntimeError: Datatype 'l' not known in 'dtype_from_numpy'!
5: 
5: ======================================================================
5: ERROR: testEmptyRecords (API.APITest.APITest)
5: ----------------------------------------------------------------------
5: Traceback (most recent call last):
5:   File "C:\projects\openpmd-api\test\python\unittest\API\APITest.py", line 985, in testEmptyRecords
5:     self.makeEmptyRoundTrip(backend_filesupport[b])
5:   File "C:\projects\openpmd-api\test\python\unittest\API\APITest.py", line 857, in makeEmptyRoundTrip
5:     ms["int32"][SCALAR].make_empty(np.dtype("int32"), 15)
5: RuntimeError: Datatype 'l' not known in 'dtype_from_numpy'!
5: 
5: ======================================================================
5: ERROR: testParticlePatches (API.APITest.APITest)
5: ----------------------------------------------------------------------
5: Traceback (most recent call last):
5:   File "C:\projects\openpmd-api\test\python\unittest\API\APITest.py", line 1829, in testParticlePatches
5:     self.backend_particle_patches(ext)
5:   File "C:\projects\openpmd-api\test\python\unittest\API\APITest.py", line 1775, in backend_particle_patches
5:     e.particle_patches["numParticles"][SCALAR].store(0, np.uint64(10))
5: RuntimeError: Datatypes of patch data (ULONGLONG) and dataset (ULONG) do not match.
5: 
5: ======================================================================
5: FAIL: testCloseIteration (API.APITest.APITest)
5: ----------------------------------------------------------------------
5: Traceback (most recent call last):
5:   File "C:\projects\openpmd-api\test\python\unittest\API\APITest.py", line 1928, in testCloseIteration
5:     self.makeCloseIterationRoundTrip(ext)
5:   File "C:\projects\openpmd-api\test\python\unittest\API\APITest.py", line 1898, in makeCloseIterationRoundTrip
5:     self.assertEqual(data[i], chunk[i])
5: AssertionError: np.int64(6) != np.int64(4620242857719391846)
5: 
5: ======================================================================
5: FAIL: testIterator (API.APITest.APITest)
5: ----------------------------------------------------------------------
5: Traceback (most recent call last):
5:   File "C:\projects\openpmd-api\test\python\unittest\API\APITest.py", line 2004, in testIterator
5:     self.makeIteratorRoundTrip(b, backend_filesupport[b])
5:   File "C:\projects\openpmd-api\test\python\unittest\API\APITest.py", line 1986, in makeIteratorRoundTrip
5:     self.assertEqual(data[i], chunk[i])
5: AssertionError: np.int64(4) != np.int32(0)
5: 
5: ======================================================================
5: FAIL: testWriteFromTemporary (API.APITest.APITest)
5: ----------------------------------------------------------------------
5: Traceback (most recent call last):
5:   File "C:\projects\openpmd-api\test\python\unittest\API\APITest.py", line 2119, in testWriteFromTemporary
5:     self.writeFromTemporary(ext)
5:   File "C:\projects\openpmd-api\test\python\unittest\API\APITest.py", line 2111, in writeFromTemporary
5:     np.testing.assert_allclose(
5:   File "C:\Miniconda37-x64\lib\site-packages\numpy\testing\_private\utils.py", line 1715, in assert_allclose
5:     assert_array_compare(compare, actual, desired, err_msg=str(err_msg),
5:   File "C:\Miniconda37-x64\lib\site-packages\numpy\testing\_private\utils.py", line 921, in assert_array_compare
5:     raise AssertionError(msg)
5: AssertionError: 
5: Not equal to tolerance rtol=1e-07, atol=0
5: 
5: Mismatched elements: 5 / 9 (55.6%)
5: Max absolute difference among violations: 21474836477
5: Max relative difference among violations: 8.58993459e+09
5:  ACTUAL: array([[          1, 17179869186, 21474836480],
5:        [          7,           8,           9],
5:        [          7,           8,           9]])
5:  DESIRED: array([[1, 2, 3],
5:        [4, 5, 6],
5:        [7, 8, 9]])

Example.py.7_extended_write_serial

29:   File "C:\projects\openpmd-api\build\bin\7_extended_write_serial.py", line 180, in <module>
29:     electrons.particle_patches["numParticles"].store(
29: RuntimeError: Datatypes of patch data (ULONGLONG) and dataset (ULONG) do not match.

@ax3l ax3l force-pushed the fix-move-force-ps1 branch from 1fa68ad to 4045aa2 Compare January 26, 2026 07:20
@ax3l ax3l added bug affects latest release internal machine/system machine & HPC system specific issues labels Jan 26, 2026
@ax3l ax3l force-pushed the fix-move-force-ps1 branch from 4045aa2 to 085ef1c Compare January 26, 2026 07:22
Fix: `TypeError: data type 'ulong' not understood` on
GCC 9 w/ Python 3.10 on Linux.
@ax3l
Copy link
Member Author

ax3l commented Jan 26, 2026

On CF, we further see on Win64 these linker errors: conda-forge/openpmd-api-feedstock#130

 │ │ ADIOS2IOHandler.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl openPMD::detail::AttributeWithShapeAndResource<unsigned __int64>::operator bool(void)const " (??B?$AttributeWithShapeAndResource@_K@detail@openPMD@@QEBA_NXZ) referenced in function "public: static enum openPMD::Datatype __cdecl openPMD::detail::AttributeReader::call<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> > >(unsigned __int64,class adios2::IO &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct openPMD::Parameter<20> &,struct openPMD::detail::AdiosAttributes const &)" (??$call@V?$vector@_KV?$allocator@_K@std@@@std@@@AttributeReader@detail@openPMD@@SA?AW4Datatype@2@_KAEAVIO@adios2@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAU?$Parameter@$0BE@@2@AEBUAdiosAttributes@12@@Z)
 │ │ ADIOS2IOHandler.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl openPMD::detail::AttributeWithShapeAndResource<char>::operator bool(void)const " (??B?$AttributeWithShapeAndResource@D@detail@openPMD@@QEBA_NXZ) referenced in function "public: static enum openPMD::Datatype __cdecl openPMD::detail::AttributeReader::call<char>(unsigned __int64,class adios2::IO &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct openPMD::Parameter<20> &,struct openPMD::detail::AdiosAttributes const &)" (??$call@D@AttributeReader@detail@openPMD@@SA?AW4Datatype@2@_KAEAVIO@adios2@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAU?$Parameter@$0BE@@2@AEBUAdiosAttributes@12@@Z)
 │ │ ADIOS2IOHandler.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl openPMD::detail::AttributeWithShapeAndResource<unsigned char>::operator bool(void)const " (??B?$AttributeWithShapeAndResource@E@detail@openPMD@@QEBA_NXZ) referenced in function "public: static enum openPMD::Datatype __cdecl openPMD::detail::AttributeReader::call<class std::vector<unsigned char,class std::allocator<unsigned char> > >(unsigned __int64,class adios2::IO &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct openPMD::Parameter<20> &,struct openPMD::detail::AdiosAttributes const &)" (??$call@V?$vector@EV?$allocator@E@std@@@std@@@AttributeReader@detail@openPMD@@SA?AW4Datatype@2@_KAEAVIO@adios2@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAU?$Parameter@$0BE@@2@AEBUAdiosAttributes@12@@Z)
 │ │ ADIOS2IOHandler.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl openPMD::detail::AttributeWithShapeAndResource<signed char>::operator bool(void)const " (??B?$AttributeWithShapeAndResource@C@detail@openPMD@@QEBA_NXZ) referenced in function "public: static enum openPMD::Datatype __cdecl openPMD::detail::AttributeReader::call<signed char>(unsigned __int64,class adios2::IO &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct openPMD::Parameter<20> &,struct openPMD::detail::AdiosAttributes const &)" (??$call@C@AttributeReader@detail@openPMD@@SA?AW4Datatype@2@_KAEAVIO@adios2@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAU?$Parameter@$0BE@@2@AEBUAdiosAttributes@12@@Z)
 │ │ ADIOS2IOHandler.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl openPMD::detail::AttributeWithShapeAndResource<short>::operator bool(void)const " (??B?$AttributeWithShapeAndResource@F@detail@openPMD@@QEBA_NXZ) referenced in function "public: static enum openPMD::Datatype __cdecl openPMD::detail::AttributeReader::call<short>(unsigned __int64,class adios2::IO &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct openPMD::Parameter<20> &,struct openPMD::detail::AdiosAttributes const &)" (??$call@F@AttributeReader@detail@openPMD@@SA?AW4Datatype@2@_KAEAVIO@adios2@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAU?$Parameter@$0BE@@2@AEBUAdiosAttributes@12@@Z)
 │ │ ADIOS2IOHandler.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl openPMD::detail::AttributeWithShapeAndResource<int>::operator bool(void)const " (??B?$AttributeWithShapeAndResource@H@detail@openPMD@@QEBA_NXZ) referenced in function "public: static enum openPMD::Datatype __cdecl openPMD::detail::AttributeReader::call<int>(unsigned __int64,class adios2::IO &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct openPMD::Parameter<20> &,struct openPMD::detail::AdiosAttributes const &)" (??$call@H@AttributeReader@detail@openPMD@@SA?AW4Datatype@2@_KAEAVIO@adios2@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAU?$Parameter@$0BE@@2@AEBUAdiosAttributes@12@@Z)
 │ │ ADIOS2IOHandler.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl openPMD::detail::AttributeWithShapeAndResource<long>::operator bool(void)const " (??B?$AttributeWithShapeAndResource@J@detail@openPMD@@QEBA_NXZ) referenced in function "public: static enum openPMD::Datatype __cdecl openPMD::detail::AttributeReader::call<long>(unsigned __int64,class adios2::IO &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct openPMD::Parameter<20> &,struct openPMD::detail::AdiosAttributes const &)" (??$call@J@AttributeReader@detail@openPMD@@SA?AW4Datatype@2@_KAEAVIO@adios2@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAU?$Parameter@$0BE@@2@AEBUAdiosAttributes@12@@Z)
 │ │ ADIOS2IOHandler.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl openPMD::detail::AttributeWithShapeAndResource<__int64>::operator bool(void)const " (??B?$AttributeWithShapeAndResource@_J@detail@openPMD@@QEBA_NXZ) referenced in function "public: static enum openPMD::Datatype __cdecl openPMD::detail::AttributeReader::call<class std::vector<__int64,class std::allocator<__int64> > >(unsigned __int64,class adios2::IO &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct openPMD::Parameter<20> &,struct openPMD::detail::AdiosAttributes const &)" (??$call@V?$vector@_JV?$allocator@_J@std@@@std@@@AttributeReader@detail@openPMD@@SA?AW4Datatype@2@_KAEAVIO@adios2@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAU?$Parameter@$0BE@@2@AEBUAdiosAttributes@12@@Z)
 │ │ ADIOS2IOHandler.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl openPMD::detail::AttributeWithShapeAndResource<unsigned short>::operator bool(void)const " (??B?$AttributeWithShapeAndResource@G@detail@openPMD@@QEBA_NXZ) referenced in function "public: static enum openPMD::Datatype __cdecl openPMD::detail::AttributeReader::call<unsigned short>(unsigned __int64,class adios2::IO &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct openPMD::Parameter<20> &,struct openPMD::detail::AdiosAttributes const &)" (??$call@G@AttributeReader@detail@openPMD@@SA?AW4Datatype@2@_KAEAVIO@adios2@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAU?$Parameter@$0BE@@2@AEBUAdiosAttributes@12@@Z)
 │ │ ADIOS2IOHandler.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl openPMD::detail::AttributeWithShapeAndResource<unsigned int>::operator bool(void)const " (??B?$AttributeWithShapeAndResource@I@detail@openPMD@@QEBA_NXZ) referenced in function "public: static enum openPMD::Datatype __cdecl openPMD::detail::AttributeReader::call<unsigned int>(unsigned __int64,class adios2::IO &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct openPMD::Parameter<20> &,struct openPMD::detail::AdiosAttributes const &)" (??$call@I@AttributeReader@detail@openPMD@@SA?AW4Datatype@2@_KAEAVIO@adios2@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAU?$Parameter@$0BE@@2@AEBUAdiosAttributes@12@@Z)
 │ │ ADIOS2IOHandler.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl openPMD::detail::AttributeWithShapeAndResource<unsigned long>::operator bool(void)const " (??B?$AttributeWithShapeAndResource@K@detail@openPMD@@QEBA_NXZ) referenced in function "public: static enum openPMD::Datatype __cdecl openPMD::detail::AttributeReader::call<unsigned long>(unsigned __int64,class adios2::IO &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct openPMD::Parameter<20> &,struct openPMD::detail::AdiosAttributes const &)" (??$call@K@AttributeReader@detail@openPMD@@SA?AW4Datatype@2@_KAEAVIO@adios2@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAU?$Parameter@$0BE@@2@AEBUAdiosAttributes@12@@Z)
 │ │ ADIOS2IOHandler.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl openPMD::detail::AttributeWithShapeAndResource<float>::operator bool(void)const " (??B?$AttributeWithShapeAndResource@M@detail@openPMD@@QEBA_NXZ) referenced in function "public: static enum openPMD::Datatype __cdecl openPMD::detail::AttributeReader::call<float>(unsigned __int64,class adios2::IO &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct openPMD::Parameter<20> &,struct openPMD::detail::AdiosAttributes const &)" (??$call@M@AttributeReader@detail@openPMD@@SA?AW4Datatype@2@_KAEAVIO@adios2@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAU?$Parameter@$0BE@@2@AEBUAdiosAttributes@12@@Z)
 │ │ ADIOS2IOHandler.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl openPMD::detail::AttributeWithShapeAndResource<double>::operator bool(void)const " (??B?$AttributeWithShapeAndResource@N@detail@openPMD@@QEBA_NXZ) referenced in function "public: static enum openPMD::Datatype __cdecl openPMD::detail::AttributeReader::call<double>(unsigned __int64,class adios2::IO &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct openPMD::Parameter<20> &,struct openPMD::detail::AdiosAttributes const &)" (??$call@N@AttributeReader@detail@openPMD@@SA?AW4Datatype@2@_KAEAVIO@adios2@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAU?$Parameter@$0BE@@2@AEBUAdiosAttributes@12@@Z)
 │ │ ADIOS2IOHandler.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl openPMD::detail::AttributeWithShapeAndResource<long double>::operator bool(void)const " (??B?$AttributeWithShapeAndResource@O@detail@openPMD@@QEBA_NXZ) referenced in function "public: static enum openPMD::Datatype __cdecl openPMD::detail::AttributeReader::call<long double>(unsigned __int64,class adios2::IO &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct openPMD::Parameter<20> &,struct openPMD::detail::AdiosAttributes const &)" (??$call@O@AttributeReader@detail@openPMD@@SA?AW4Datatype@2@_KAEAVIO@adios2@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAU?$Parameter@$0BE@@2@AEBUAdiosAttributes@12@@Z)
 │ │ ADIOS2IOHandler.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl openPMD::detail::AttributeWithShapeAndResource<class std::complex<float> >::operator bool(void)const " (??B?$AttributeWithShapeAndResource@V?$complex@M@std@@@detail@openPMD@@QEBA_NXZ) referenced in function "public: static enum openPMD::Datatype __cdecl openPMD::detail::AttributeReader::call<class std::complex<float> >(unsigned __int64,class adios2::IO &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct openPMD::Parameter<20> &,struct openPMD::detail::AdiosAttributes const &)" (??$call@V?$complex@M@std@@@AttributeReader@detail@openPMD@@SA?AW4Datatype@2@_KAEAVIO@adios2@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAU?$Parameter@$0BE@@2@AEBUAdiosAttributes@12@@Z)
 │ │ ADIOS2IOHandler.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl openPMD::detail::AttributeWithShapeAndResource<class std::complex<double> >::operator bool(void)const " (??B?$AttributeWithShapeAndResource@V?$complex@N@std@@@detail@openPMD@@QEBA_NXZ) referenced in function "public: static enum openPMD::Datatype __cdecl openPMD::detail::AttributeReader::call<class std::complex<double> >(unsigned __int64,class adios2::IO &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct openPMD::Parameter<20> &,struct openPMD::detail::AdiosAttributes const &)" (??$call@V?$complex@N@std@@@AttributeReader@detail@openPMD@@SA?AW4Datatype@2@_KAEAVIO@adios2@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAU?$Parameter@$0BE@@2@AEBUAdiosAttributes@12@@Z)
 │ │ ADIOS2IOHandler.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl openPMD::detail::AttributeWithShapeAndResource<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::operator bool(void)const " (??B?$AttributeWithShapeAndResource@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@detail@openPMD@@QEBA_NXZ) referenced in function "public: static enum openPMD::Datatype __cdecl openPMD::detail::AttributeReader::call<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >(unsigned __int64,class adios2::IO &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct openPMD::Parameter<20> &,struct openPMD::detail::AdiosAttributes const &)" (??$call@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@AttributeReader@detail@openPMD@@SA?AW4Datatype@2@_KAEAVIO@adios2@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAU?$Parameter@$0BE@@2@AEBUAdiosAttributes@12@@Z)

@ax3l
Copy link
Member Author

ax3l commented Jan 26, 2026

Ah, the patch above from Franz fixes exactly that. Moved that to CF.

@ax3l
Copy link
Member Author

ax3l commented Jan 26, 2026

Not sure what is on with that Windows / Clang w/o MPI (pull_request) CI test, it just fails on startup with no details.
The windows-2022 image it uses is still supported.

Update: Ahhh, GH status

Regression in windows runners for public repositories

Comment on lines 162 to +166
Datatype dtype = determineDatatype<T>();
if (dtype != getDatatype())
if (dtype != getDatatype() && !isSameInteger<T>(getDatatype()) &&
!isSameFloatingPoint<T>(getDatatype()) &&
!isSameComplexFloatingPoint<T>(getDatatype()) &&
!isSameChar<T>(getDatatype()))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not urgently needed but sensible.
We should group these together into a single call like isEquivalentRepresentation<T>(getDatatype()) where we use it in the code base.

@ax3l ax3l enabled auto-merge (squash) January 26, 2026 19:35
@ax3l ax3l merged commit 63d3e07 into openPMD:dev Jan 26, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants