Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pedagogical instructions (+ specifically help for Windows users) #292

Closed
2 tasks done
samcunliffe opened this issue May 11, 2023 · 3 comments · Fixed by #296
Closed
2 tasks done

Pedagogical instructions (+ specifically help for Windows users) #292

samcunliffe opened this issue May 11, 2023 · 3 comments · Fixed by #296
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request ux Related to the user experience (CLI, workflow etc)

Comments

@samcunliffe
Copy link
Member

samcunliffe commented May 11, 2023

Add some more basic prerequisite installation instructions.

Can use the CI as a template. For Windows, it might make the most sense to recommend WSL. If not then SDK for C++ and CMake, and... conda is the easiest way to get FFTW.

Probably keep this issue paused until we get feedback from @prmunro's postdoc.

Subtasks related to this

@samcunliffe samcunliffe added documentation Improvements or additions to documentation enhancement New feature or request ux Related to the user experience (CLI, workflow etc) labels May 11, 2023
@samcunliffe samcunliffe added this to the End of ARC project. milestone May 11, 2023
@samcunliffe samcunliffe self-assigned this May 11, 2023
@samcunliffe samcunliffe linked a pull request May 18, 2023 that will close this issue
@samcunliffe
Copy link
Member Author

PS C:\Users\<user>\TDMS\build> ls C:\ProgramData\anaconda3\envs\
PS C:\Users\<user>\TDMS\build> cmake ../tdms -DFFTW_ROOT=C:\Users\<user>\.conda\pkgs\fftw-3.3.10-nompi_h52fa85e_103\Library
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044.
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Found FFTW: C:/Users/<user>/.conda/pkgs/fftw-3.3.10-nompi_h52fa85e_103/Library/include
-- Found OpenMP_CXX: -openmp (found version "2.0")
-- Found OpenMP: TRUE (found version "2.0")
-- Build spdlog: 1.11.0
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- Build type: Release
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.39.1.windows.1")
fatal: ref HEAD is not a symbolic ref
-- Compiling TDMS version: _v1.0.0
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/<user>/TDMS/build
PS C:\Users\<user>\TDMS\build> make install
make : The term 'make' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ make install
+ ~~~~
    + CategoryInfo          : ObjectNotFound: (make:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

@samcunliffe
Copy link
Member Author

Make may not exist so should change instructions to cmake --build .
FFTW via conda goes to the homedir (even if installing globally!?)

  • change instructions to cmake --build .
  • hint for how to find fftw just installed via conda

@samcunliffe
Copy link
Member Author

Can reproduce En's issue with missing dlls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request ux Related to the user experience (CLI, workflow etc)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant