Hi Juan.
I want to develop an FVM Solver based on the source code of DEVSIM. And I tried to utilize the source code but encountered some problems.
The first problem is as follows.
I have built the program using the automated scripts provided. And it processed successfully. The commands are as follows.
git clone https://github.com/devsim/devsim.git
cd devsim
git submodule update --init
scripts\build_appveyor.bat x64 conda 1.0
Then there are some files of Visual Studio project in the folder \win64. And I opened DEVSIM.sln in VS. But I have no idea about what to do next.
I want to code a project for diode_3d example (like the one in the folder \examples\diode) in C++. Should I add a new project in the solution and locate the project files in the folder \win64\src\diode_3d?
I did this and wrote a simple source file in the diode_3d project like:
#include <iostream>
using namespace std;
int main() {
return 0;
}
I just wanted to know if it is alright to create a new project in the solution. However, when I started to build this new project, it seems like all of the projects started to build again and the build failed finally. Could you please tell me what should I do if I want to utilize the source code in VS?
The second question is that many tests failed after my build.
After the process of build completed, I run the test for Windows. And it turns out that 42 of 86 tests failed. The commands are as follows.
git clone https://github.com/devsim/devsim_tests_win64.git
cd devsim_tests_win64
preinstall.bat
conda activate devsim_test
pip install --target devsim_win64_2.9.0 devsim-2.9.0-cp37-abi3-win_amd64.whl
run_tests.bat 2.9.0
The .whl file for the test run is duplicated from \devsim\dist\devsim-2.9.0-cp37-abi3-win_amd64.whl.
Is there something that I’ve done wrong?
The log files of command output for build and test are below.
Thanks for your reading.
Wong