AMO Tools Suite is a cross-platform collection of calculations and tools to support industrial equipment modeling. See our hosted documentation for the latest release at ornl-amo.github.io
cd
into the emsdk directory:
emsdk install latest
followed by emsdk activate latest
source emsdk_env.sh
or on Windows run emsdk_env.bat
cd
into AMO-Tools-Suite directory:
build-wasm
and cd into it 'emcmake cmake -DBUILD_WASM=ON ..'
emcmake cmake -D BUILD_WASM=ON .. -G "MinGW Makefiles"
emmake make
cd
into AMO-Tools-Suite directory andnpm install
followed by npm run test-wasm
BUILD_TESTING
flag is set (which is default) then:
build-cpp
and cd into it'cmake ..'
cmake .. -G "MinGW Makefiles"
'cmake --build .'
cpp_tests.exe
bin
directory. On Windows, the executable can be found under either the Debug
or Release
directories, depending on CMake configurationBUILD_PACKAGE
flag in the CMakeCache, then cmake ./
then make package
cmake -D BUILD_TESTING:BOOL=OFF ./
and cmake --build . --config Release --target PACKAGE
ccmake.
and set BUILD_TESTING OFF, BUILD_PACKAGE ON, then configure and generate. Then make package
.doxygen Doxyfile
To make it easy for developers local building and testing, it is dockerized. To run it in docker follow this steps.
docker compose up -d
docker compose down
docker exec -it amo-tools-suite-build /bin/bash
and run the executable /home/AMO-Tools-Suite/build-cpp/bin/cpp_tests
docker compose logs --tail 5