Package Details: dakota 6.6.0-4

Git Clone URL: https://aur.archlinux.org/dakota.git (read-only)
Package Base: dakota
Description: A flexible, extensible interface between analysis codes and iterative systems analysis methods
Upstream URL: https://dakota.sandia.gov/
Licenses: LGPL
Submitter: robertfoster
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 1
Popularity: 0.033434
First Submitted: 2017-01-18 16:57
Last Updated: 2017-11-18 19:10

Latest Comments

rhagu commented on 2017-10-26 10:53

Thank you, it works now! :-)

Any plans for dakota-gui?

rhagu commented on 2017-10-21 19:30

Hi,

I try to install dakota with manjaro and get an error, that /usr/include/menu.h already exists.

Everything else seems to work fine. Any idea why this happens?

the output is all german:

==> Säubere Installation...
-> Entferne libtool Dateien...
-> Bereinige ungewollte Dateien...
-> Entferne statische Bibliotheken...
-> Komprimiere Man-Pages und Info-Seiten...
==> Prüfe auf Paketierungsprobleme...
==> Erstelle Paket "dakota"...
-> Erstelle .PKGINFO Datei...
-> Erstelle .BUILDINFO Datei...
-> Erstelle .MTREE-Datei...
-> Komprimiere Paket...
==> Verlasse fakeroot Umgebung.
==> Beendete Erstellung: dakota 6.6.0-3 (So 22. Okt 13:23:50 CEST 2017)
==> Räume auf...

Abhängigkeiten werden aufgelöst...
Interne Konflikte werden überprüft...
Überprüfe Schlüsselring...
Integrität wird überprüft...
Paketdateien werden geladen...
Dateikonflikte werden überprüft...

Vorgang konnte nicht abgeschlossen werden:
In Konflikt stehende Dateien:
dakota: /usr/include/menu.h existiert bereits im Dateisystem

carlsagan12 commented on 2017-08-11 14:02

I forgot to add this but the fix that I received from Sandia, which answers storrgie's question and also makes the CXXFLAGS -fpermissive not necessary.


```
diff --git a/acro/packages/utilib/src/libs/OptionParser.cpp b/acro/packages/utilib/src/libs/OptionParser.cpp
index b21a619..7156255 100644
--- a/acro/packages/utilib/src/libs/OptionParser.cpp
+++ b/acro/packages/utilib/src/libs/OptionParser.cpp
@@ -525,7 +525,7 @@ OptionParser::args_t& OptionParser::parse_args(int argc, char* _argv[])
Parameter& param = get_param(argv[i].c_str(),posix);
if (param.is_bool)
{
- if (tmp != '\000')
+ if (strlen(tmp) >0)
param.set_value_with_string(tmp);
else
param.set_value_with_string("");
@@ -534,7 +534,7 @@ OptionParser::args_t& OptionParser::parse_args(int argc, char* _argv[])
{
if (!using_equal && required_equals)
EXCEPTION_MNGR(std::runtime_error, "Nonboolean parameter '" << argv[i] << "' specified without required argument. Option parsing configured to require --option=value syntax.");
- if (tmp != '\000')
+ if (strlen(tmp) > 0)
param.set_value_with_string(tmp);
else
{

```
change these two lines in dakota-6.6.0.src/packages/external/acro/packages/utilib/src/utilibOptionsParser.h

If you pull from their repository you will have the most updated version, this was the recommendation I received from someone at Sandia. I have asked Sandia for their repo address after discussing with them this fix. I am not sure if it is a public repo that can be pulled as of yet.

horne.kyle commented on 2017-08-03 15:26

I just got dakota building on my computers by adding -fpermissive to the CXXFLAGS in the makepkg file.

storrgie commented on 2017-07-11 17:34

@M0Rf30:

I'm having trouble building this on my machine with all dependencies satisfied. Does this build properly for you? Please see the error I'm getting below:

```
/home/agd/Documents/development/projects/AUR/dakota/src/dakota-6.5.0.src/packages/external/acro/packages/utilib/src/libs/OptionParser.cpp: In member function ‘utilib::OptionParser::args_t& utilib::OptionParser::parse_args(int, char**)’:
/home/agd/Documents/development/projects/AUR/dakota/src/dakota-6.5.0.src/packages/external/acro/packages/utilib/src/libs/OptionParser.cpp:528:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (tmp != '\000')
^~~~~~
/home/agd/Documents/development/projects/AUR/dakota/src/dakota-6.5.0.src/packages/external/acro/packages/utilib/src/libs/OptionParser.cpp:537:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (tmp != '\000')
^~~~~~
make[2]: *** [packages/external/acro/packages/utilib/src/libs/CMakeFiles/utilib.dir/build.make:1119: packages/external/acro/packages/utilib/src/libs/CMakeFiles/utilib.dir/OptionParser.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3992: packages/external/acro/packages/utilib/src/libs/CMakeFiles/utilib.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
```

cdemoulins commented on 2017-03-13 16:12

There's a missing dependencies : tinyxml

# dakota --version
dakota: error while loading shared libraries: libtinyxml.so: cannot open shared object file: No such file or directory
[1] 25992 exit 127 dakota --version