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
Copy file name to clipboardexpand all lines: INSTALL.md
+7-4
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ cd quartz
36
36
2. Set up the environment (including Python, Cython, OpenMP) by conda.
37
37
38
38
```shell
39
-
conda env create --name quartz --file env.yml
39
+
conda env create --name quartz --file env.yml# on MacOS with Apple Silicon, please prepend "CONDA_SUBDIR=osx-arm64" to the beginning of this command if you installed Anaconda with a default x86_64 target architecture
40
40
conda activate quartz
41
41
conda install openmp # on MacOS, please run "brew install libomp" instead
42
42
```
@@ -50,11 +50,11 @@ conda install openmp # on MacOS, please run "brew install libomp" instead
50
50
mkdir build
51
51
cd build
52
52
cmake .. # see notes below
53
-
make install
53
+
make install# on MacOS, if you updated your system recently and find that the C++ standard libraries are missing, please consider re-installing your development tools
54
54
```
55
55
56
56
Note that line 3 in the example will have the runtime library and include files installed into the default
57
-
path `/usr/local/`. To modify the install path, you can set the path explicitly in line 3, for example:
57
+
path `/usr/local/`. To modify the installation path, you can set the path explicitly in line 3, for example:
-`test_optimize | Debug-Visual Studio` -> Edit Configurations... -> Working Directory -> fill in `(path\to\quartz)`
144
144
- Click "Run 'test_optimize'" (Shift + F10)
145
145
146
+
### Troubleshooting
147
+
- If the Python modules you have installed in the quartz conda environment are missing, please consider replacing all instances of `"python "` in the code with the Python executable path in the quartz conda environment.
148
+
146
149
## Visual Studio Integration (Optional) (only for Windows)
0 commit comments