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

Check Windows installation #140

Open
krystophny opened this issue Jun 25, 2021 · 3 comments
Open

Check Windows installation #140

krystophny opened this issue Jun 25, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@krystophny
Copy link
Collaborator

krystophny commented Jun 25, 2021

Observations/Actions on Windows:

  • Skip tests with Fortran compiler requirements
  • Anaconda needs to be in Path (including MKL dlls) to run python from command line to run tests via profit run
    python.exe has to be copied to python3.exe to enable tests designed for Ubuntu
  • Symlinks don't work on Windows
@krystophny krystophny added the enhancement New feature or request label Jun 25, 2021
@krystophny krystophny self-assigned this Jun 25, 2021
@Squadula
Copy link
Contributor

Squadula commented Jul 30, 2021

Additional observations on Windows (using conda environment):

  • Problems with multiprocessing
  • Permission error: Multiple processes accessing interface.npy (solution: zeroMQ?)

Steps to reproduce:

  1. Create new python3.9 conda environment (profit_env)
  2. Download required packages for profit from README.md via Anaconda
  3. Download additional packages via conda cmd prompt: Chaospy, GPy
  4. Download profit via pip according to this guide. Used commands:
conda install -n profit_env pip
conda activate profit_env
pip install profit
  1. Install git according to this article
  2. Set up conda in git bash (see here)
profit --help

image
7. In examples/mockup/study folder:

profit --help

image
...
...
...
image

@krystophny
Copy link
Collaborator Author

krystophny commented Jul 30, 2021

Robert suggests: Test with zeromq (no interface file) and fork=false (no multiprocessing)

@Squadula
Copy link
Contributor

Squadula commented Jul 30, 2021

Adding fork: false to the (local) runner and class: zeromq to interface in run in profit.yaml solves the problem.

Additionally the symbolic links were replaced with the actual files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants