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
Fabian Wein edited this page Dec 17, 2022
·
15 revisions
This is a brief guiedeline to build Windows on command line using Intel oneAPI
Install buildchain
Install Microsoft Visual Studio Community Edition for C++ with build tools (nmake, cmake, ...)
Install Intel oneAPI C++/Fortran and Math Kernel Library with all dependend packages (the installer will help you) from oneAPI BaseKit and oneAPI HPCKit
Install Git with options for command line
Install cmake
Install a standard text editor like Notepad++
Setup buildchain
configure git and best is to add shh keys to the gitlab server
add C:\Program Files\Git\usr\bin to your Path in environment settings. openCFS need patch.exe from there. Make sure by calling patch --help on cmd that this worked. Otherwise openCFS will fail building it's cfsdeps.
add C:\Program Files (x86)\Intel\oneAPI to your PATH and always run setvars before creating a new openCFS build directory with cmake
prepare a .cfs_platform_defaults.cmake and place it in your home directory.
First time build
start cmd and make sure that nmake, patch --help and ifx are found
clone cfs e.g. to code\cfs in your home
create there build directory, e.g. code\cfs\release and go there