Comments (9)
Watching
from nomad.
@SobhanMP what operating system are you using?
from nomad.
i use linux
from nomad.
When you comment the signal
function calls in NOMAD::Algorithm::init()
(see below), doest it fixes the threading issue ?
```
/** Step::userInterrupt() will be called if CTRL-C is pressed.
* Currently, the main thread will wait for all evaluations to be complete.
* \todo Propage interruption to all threads, for all parallel evaluations of blackbox.
*/
signal(SIGINT, userInterrupt);
signal(SIGSEGV, debugSegFault);
from nomad.
yep, it took a bit of effort to build it but yeah. Also i noticed that NOMAD_jll (the nomad build) is very outdated.
from nomad.
@SobhanMP
I will recompile a new NOMAD_jll as soon as I can.
from nomad.
Would it be a simple pull request for https://github.com/JuliaPackaging/Yggdrasil/blob/b63bb8b3553d614d20a95137528de1ae506fbef8/N/NOMAD/build_tarballs.jl
to the latest git hash?
from nomad.
Would it be a simple pull request for https://github.com/JuliaPackaging/Yggdrasil/blob/b63bb8b3553d614d20a95137528de1ae506fbef8/N/NOMAD/build_tarballs.jl to the latest git hash?
No, because the headers are generated dynamically and I need to generate a new patch for each new release.
The executable that generates the headers should be compiled with the host compiler whereas the other files should be compiled with the cross compiler.
from nomad.
it also seems tha SGTE got deprecated(?) but is that patch really needed? the second part of the patch fails (and atomic_patch ignores it as far as i understand)
-set(CMAKE_INSTALL_PREFIX ${PROJECT_BINARY_DIR} CACHE PATH "..." FORCE)
-message(STATUS " Installation prefix set to ${CMAKE_INSTALL_PREFIX}")
+# set(CMAKE_INSTALL_PREFIX ${PROJECT_BINARY_DIR} CACHE PATH "..." FORCE)
+# message(STATUS " Installation prefix set to ${CMAKE_INSTALL_PREFIX}")
this does nothing just removes trailing space
-find_package(OpenMP QUIET)
-if(OpenMP_FOUND)
- message(STATUS " Test OpenMP for parallel functionalities -- found ")
-else()
- message(STATUS " OpenMP not found. Parallel functionalities NOT available")
+option(TEST_OPENMP "Option to compile Nomad with OpenMP" ON)
+if (TEST_OPENMP MATCHES ON)
+ find_package(OpenMP QUIET)
+ if(OpenMP_FOUND)
+ message(STATUS " Test OpenMP for parallel functionalities -- found ")
+ else()
+ message(STATUS " OpenMP not found. Parallel functionalities NOT available")
+ endif()
option to disable openmp was added so no need
-add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/PyNomad)
+# add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/PyNomad)
same for this
-add_executable(WriteAttributeDefinitionFile ${ATTRIBUTE_HEADERS_GENERATOR})
+# add_executable(WriteAttributeDefinitionFile ${ATTRIBUTE_HEADERS_GENERATOR})
# Command to create the attribute headers
-add_custom_command(
- OUTPUT ${ATTRIBUTE_HEADERS}
- COMMAND WriteAttributeDefinitionFile
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/Attribute
- DEPENDS ${ATTRIBUTE_TEXT}
-)
+# add_custom_command(
+# OUTPUT ${ATTRIBUTE_HEADERS}
+# COMMAND WriteAttributeDefinitionFile
+# WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/Attribute
+# DEPENDS ${ATTRIBUTE_TEXT}
+# )
this fails.
the rest seems to be a bunch of custom configs that was added but i'm not sure why. a bunch of the configs are now deprecated. Maybe it's a better idea to take the python route and not put a struct for anything and let the user configure everything with the nomad original keywords instead of a struct?
from nomad.
Related Issues (20)
- restart multi obj HOT 3
- LH_SEARCH: Unrecongized Parameter HOT 2
- Passing in initial points with evaluation? HOT 2
- Question about parallelization HOT 4
- How to retrieve the best solution HOT 4
- [Question] How to access the CacheBase through the Java wrapper ? HOT 3
- PSD-NOMAD crash due to "std::out_of_range" HOT 7
- Plans for F_TARGET in v4 HOT 1
- PyNomad is incompatible with Cython 3.0
- Conflict with MATLAB libstdc++.so.6
- The trouble when I ran test_gerad_norm.m HOT 1
- PyNomad Import Error in Python>3.6 HOT 7
- Unconverged Problem w/ NOMAD 4.4 MATLAB Interface Using "DISCO_MADS" HOT 8
- Invaling MEX-file when running nomadOpt() in MATLAB interface for Linux HOT 1
- NomadProblem not freed in C interface HOT 2
- Missing stdbool.h include in C interface header HOT 2
- LH_SEARCH for MATLAB interface HOT 3
- Exceptions may be thrown from C interface functions HOT 4
- Inconsistent return value from solveNomadProblem HOT 3
- Problem with 53 variables to be optimized using PyNOMAD; PSD_NOMAD not working; What other options do I have? HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nomad.