Skip to content

test PR (DONOT merge)#554

Closed
hunghaoti wants to merge 174 commits intomasterfrom
haoti/pre-releasev1.0.0
Closed

test PR (DONOT merge)#554
hunghaoti wants to merge 174 commits intomasterfrom
haoti/pre-releasev1.0.0

Conversation

@hunghaoti
Copy link
Collaborator

Test macos building

yingjerkao and others added 30 commits October 31, 2023 14:09
The temporary filenames are generated randomly, which reduces the
likelihood of conflicts when multiple testing tasks are running
concurrently.
The `gtest_discover_tests()` command in CMake defaults to using
relative paths based on the build directory when running the tests. This
can cause issues if developers build multiple versions of the project,
for example with different configuration flags, as the tests will fail
to locate the test files correctly.

To decouple the build process from the test execution, this commit sets
the working directory for CTest to the tests/ subdirectory. By doing so,
the relative paths used by the discovered tests will correctly resolve
to the test files, regardless of the build directory structure or
configuration used.
The correct property name should be `DISCOVERY_TIMEOUT`, and it seems
that passing the value with the `PROPERTY` keyword doesn't take effects.
The default timeout for finding the tests is 5 seconds. This should be
long enough.
Fix `DenseUniTensorTest.arange_step_error`.
This reverts commit 1be5056.
Change the CTest working directory to `tests/`
Suppress specific compilation errors reported by Clang for the following
files:

1. **src/linalg/Tensordot.cpp**:
  - Error: non-pod-varargs
  - Details: Passing non-POD types to variadic functions is
      conditionally supported by the compiler, as outlined in the C++17
      standard (section 8.2.2/9). For more information, refer to
      [Passing NON-POD type to Variadic function is undefined behavior?](https://stackoverflow.com/a/10083921).

2. **Other Files**:
  - Error: c++11-narrowing
An issue reported the code below raises error by clang on Mac.

```
doulbe _Complex right = 123.4 + 45435.1I;
std::complex<doulbe> left{43.4, 2532.1};
left *= (std::complex<doulbe>)right; // invalid implicit conversion
```

This may be a bug in Clang on Mac, as no errors are raised by Clang on
CentOS or in the online compiler.
fixed segfault when a BlockUniTensor with no valid blocks was printed…
Fix combindBond in pybind, so the default argument is_grp = true works.
…y will return itself instead of None as a void function.
hunghaoti and others added 29 commits December 25, 2024 14:46
1. Use deprecated atribute as suggestion.
2. Add documentation for deprecated functions to indicate which recommended function can be used.
1. Fix Lanczos Gnd unit test cause from putblock using different devices.
2. Skip ExpM for gpu test since Eig still not implemted, which is needed to do the exponential.
3. cuda svd cannot give the correct answer if almost elements are zeros. So we skip Svd U1_zeros tests.
4. The answer of Svd_truncate3 is not correct also cause from the above issue. So I delete it.
1. Adjust the file to ensure the Markdown displays correctly in the GitHub viewer.
2. Add the developer and contributors.
3. Incorporate content suggested in the PR #541 .
4. Add a link to the release note.
5. Add the paper reference.
6. Remove certain content and leave them in `dox.md` file.
1. update linalg function and add proper links.
2. update the contributer and developers.
We exclude some structure, which we don't expect users to use, in the documentation.
1. Fix example code and complete empyt output.
2. Exclude some file to document.
3. Fix worng output of the documentation.
1. Add more description about the UniTensor and give some example code.
2. Test all code and fix.
3. Add linalg part.
@hunghaoti hunghaoti closed this Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants