The workaround is to compile without --release mode, but using
the "O3" ldc flag instead does the job - the binary is fast, yet
the try - catch block executes properly.
On Wednesday, 26 October 2022 at 20:13:37 UTC, Yura wrote:
OK, got the problem solved by adding the following lines in my
OK, got the problem solved by adding the following lines in my
dub.sdl file:
lflags "-lopenblas" "-lgfortran"
dflags "--static"
However, one problem still remains. Apparently, when compiled
with dub --release mode I got segfault in my try - catch block.
Any solution to this?
On Wednesday,
I am now trying to compile the code statically using the dub
manager via the following command line:
dub build --force --build=release --compiler=path_to_ldc2/ldc2
and having these lines in my dub.sdl file:
dependency "mir" version="~>3.2.3"
dependency "lubeck" version="~>1.5.1"
dflags
Yes, did the same and it worked. The amazing thing is that the
system solver turned out to be natively parallel and runs
smoothly!
On Tuesday, 18 October 2022 at 15:22:02 UTC, mw wrote:
On Tuesday, 18 October 2022 at 09:56:09 UTC, Siarhei Siamashka
wrote:
On Monday, 17 October 2022 at
On Tuesday, 18 October 2022 at 09:56:09 UTC, Siarhei Siamashka
wrote:
On Monday, 17 October 2022 at 20:05:24 UTC, mw wrote:
On Monday, 17 October 2022 at 19:54:12 UTC, Yura wrote:
it is possible to install the most recent ldc and gdc
compilers on Ubuntu 18.04?
Yes, I used LDC on the same
On Monday, 17 October 2022 at 20:22:47 UTC, jmh530 wrote:
If you have a problem with support for mir, submit a bug
report. I don't think gdc is supported, but ldc should be.
GDC12 has finally upgraded its D language frontend version to
2.100 and I have successfully compiled a simple lubeck
On Monday, 17 October 2022 at 20:05:24 UTC, mw wrote:
On Monday, 17 October 2022 at 19:54:12 UTC, Yura wrote:
it is possible to install the most recent ldc and gdc
compilers on Ubuntu 18.04?
Yes, I used LDC on the same system.
What's the recommended way to have up to date D compilers in
On Monday, 17 October 2022 at 20:39:10 UTC, rikki cattermole
wrote:
On 18/10/2022 9:37 AM, mw wrote:
Maybe Mir should add static check for supported complier
versions, rather than let user try and error.
Dub has dependency checks for compiler/dub in it.
It doesn't need to be in code.
Not
On 18/10/2022 9:37 AM, mw wrote:
Maybe Mir should add static check for supported complier versions,
rather than let user try and error.
Dub has dependency checks for compiler/dub in it.
It doesn't need to be in code.
On Monday, 17 October 2022 at 20:22:47 UTC, jmh530 wrote:
If you have a problem with support for mir, submit a bug
report. I don't think gdc is supported, but ldc should be.
The latest version of Mir can only be compiled with latest Ldc
1.30, 1.29 doesn't work.
Maybe Mir should add static
On Monday, 17 October 2022 at 19:54:12 UTC, Yura wrote:
Dear All, Thank you so much for your replies and hints! I got
it working today. All the libraries are properly linked and the
Equation solver runs smoothly.
The compilers turned out to be problematic though. The "Mir"
library does not
On Monday, 17 October 2022 at 19:54:12 UTC, Yura wrote:
it is possible to install the most recent ldc and gdc compilers
on Ubuntu 18.04?
Yes, I used LDC on the same system.
Dear All, Thank you so much for your replies and hints! I got it
working today. All the libraries are properly linked and the
Equation solver runs smoothly.
The compilers turned out to be problematic though. The "Mir"
library does not work with the Ubuntu 18.04 gdc and ldc
compilers. I have
On Friday, 14 October 2022 at 21:38:45 UTC, Yura wrote:
in the top of my el.d file I have:
```D
/+dub.sdl:
dependency "mir-algorithm" version="~>3.16.12"
+/
import std.stdio;
import std.string;
import std.conv;
import std.exception : assertThrown;
import std.math;
import mir.ndslice;
```
On Friday, 14 October 2022 at 17:41:42 UTC, Yura wrote:
I am working under Ubuntu 18.04 and compiling my code like "gdc
solv.d"
That's an old distribution released 4 years ago and already
approaching its End of Standard Support in a few months (April
2023). This distribution offers old
On Friday, 14 October 2022 at 21:38:45 UTC, Yura wrote:
On Friday, 14 October 2022 at 18:37:00 UTC, Sergey wrote:
however, when I try to compile it (gdc el.d) it gives me the
following error message:
el.d:11:8: error: module ndslice is in file 'mir/ndslice.d'
which cannot be read
import
On Friday, 14 October 2022 at 18:37:00 UTC, Sergey wrote:
On Friday, 14 October 2022 at 17:41:42 UTC, Yura wrote:
Dear All,
I am very new to D, and it has been a while since I coded in
anything than Python. I am using just notepad along with the
gdc compiler.
At the moment I need to solve
On Friday, 14 October 2022 at 17:41:42 UTC, Yura wrote:
Dear All,
I am very new to D, and it has been a while since I coded in
anything than Python. I am using just notepad along with the
gdc compiler.
At the moment I need to solve the system of liner equations:
A00*q0 + A01*q1 + A02*q2
On Friday, 14 October 2022 at 17:41:42 UTC, Yura wrote:
Dear All,
I am very new to D, and it has been a while since I coded in
anything than Python. I am using just notepad along with the
gdc compiler.
[...]
Did not try it, but the example for the function luSolve at the
lubeck
On Friday, 14 October 2022 at 17:41:42 UTC, Yura wrote:
...
Check out MIR https://github.com/libmir
Dear All,
I am very new to D, and it has been a while since I coded in
anything than Python. I am using just notepad along with the gdc
compiler.
At the moment I need to solve the system of liner equations:
A00*q0 + A01*q1 + A02*q2 ... = -V0
A10*q0 + A11*q1 + A12*q2 ... = -V1
...
I have
21 matches
Mail list logo