Giter VIP home page Giter VIP logo

mr's People

Contributors

apik avatar bednya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mr's Issues

Problem with tsil-1.21 on Mac OS X

===== TSIL TEST SUITE =====

Test 1: TestData/0.0001_0.0001_0.0001_1_1__-1_7

FAIL
Expected for UUzxyv0: 17.7543981849247814 + 0.0000000000000000 I
Obtained for UUzxyv0: ComplexInfinity

FAIL
Expected for UUuyxv0: 10.0889908393957928 + 0.0000000000000000 I
Obtained for UUuyxv0: ComplexInfinity

FAIL
Expected for UUxzuv0: 15.2558320185724146 + 0.0000000000000000 I
Obtained for UUxzuv0: ComplexInfinity

FAIL
Expected for UUyuzv0: 9.9997612910363234 + 0.0000000000000000 I
Obtained for UUyuzv0: ComplexInfinity

FAIL
Expected for VVzxyv0: 87.7680546330327047 + 0.0000000000000000 I
Obtained for VVzxyv0: ComplexInfinity

FAIL
Expected for VVuyxv0: 42.8899862121195596 + 0.0000000000000000 I
Obtained for VVuyxv0: ComplexInfinity

FAIL
Expected for VVxzuv0: 79.2692581871718147 + -0.0000000000000541 I
Obtained for VVxzuv0: ComplexInfinity

FAIL
Expected for VVyuzv0: 3.1203244926939022 + 0.0000000000000000 I
Obtained for VVyuzv0: ComplexInfinity
FAILED FOR INPUT PARAMETERS:
x = 0.000100;
y = 0.000100;
z = 0.000100;
u = 1.000000;
v = 1.000000;
s = -1.000000;
qq = 7.000000;

===== Done with input file TestData/0.0001_0.0001_0.0001_1_1__-1_7 =====

Test 2: TestData/0.0001_0.0001_0.0001_1_1__0.5_7

FAIL
Expected for UUzxyv0: 17.5396081404679052 + 23.8191220588469719 I
Obtained for UUzxyv0: ComplexInfinity

FAIL
Expected for UUuyxv0: 14.2608656821700528 + -0.0000000000001962 I
Obtained for UUuyxv0: ComplexInfinity

FAIL
Expected for UUxzuv0: 14.5792739168156320 + 20.6815744988012113 I
Obtained for UUxzuv0: ComplexInfinity

FAIL
Expected for UUyuzv0: 14.3658233485958906 + 0.0000000000000000 I
Obtained for UUyuzv0: ComplexInfinity

FAIL
Expected for VVzxyv0: -182.4509958037133117 + 33.5371350043371947 I
Obtained for VVzxyv0: ComplexInfinity

FAIL
Expected for VVuyxv0: 147.2040431468347208 + -0.0000000000008895 I
Obtained for VVuyxv0: ComplexInfinity

FAIL
Expected for VVxzuv0: -164.5969870469079694 + 28.3014660680816661 I
Obtained for VVxzuv0: ComplexInfinity

FAIL
Expected for VVyuzv0: 8.2727002829986063 + 0.0000000000000000 I
Obtained for VVyuzv0: ComplexInfinity
FAILED FOR INPUT PARAMETERS:
x = 0.000100;
y = 0.000100;
z = 0.000100;
u = 1.000000;
v = 1.000000;
s = 0.500000;
qq = 7.000000;

Build fails on Linux

Hi,

I'm trying to build the program according to the instructions. I cloned the repo and configured with

autoreconf -i
./configure --with-mcc-path=/usr/local/bin/mcc --enable-math10

Running make fails with the following error:

mr.tm -o mr.cpp
/bin/bash: mr.tm: Command not found

I am using Linux 4.13 on Ubuntu 17.10 with gcc 7.2.0 and Mathematica 11.

Issues compiling Mathematica interface on Fedora 25

On Fedora 25 there seem to be issues compiling the Mathematica interface to work with version 11. The problem is that in the makefile we have

LDMATH =  -lML64i4 -lstdc++ -lpthread -lm -lrt -ldl -luuid

which leads to the following output

http://pastebin.com/GsABy6BG

Notice that before I used

./configure --enable-math10 --with-mcc-path=/usr/local/Wolfram/Mathematica/11.0/SystemFiles/Links/MathLink/DeveloperKit/Linux-x86-64/CompilerAdditions

The workaround is to replace the LDMATH line with

LDMATH =  -lML64i4 -lstdc++ -lpthread -lm -lrt -ldl -l:libuuid.so.1

and then everything compiles just fine

http://pastebin.com/ZRTFD7XX

and runs without any problems

math < mr.m
Mathematica 11.0.1 for Linux x86 (64-bit)
Copyright 1988-2016 Wolfram Research, Inc.

In[1]:= MR - Matching and Running Mathmatica interface
To see available functions use Names["mr`*"]
Andrey Pikelner <[email protected]>

In[2]:= In[2]:= 
                                                                         2
Out[2]= 1 + 185.3545315192623202 aEW[173] - 19207.76644304067531 aEW[173]  + 
 
>    563.1886634134386928 aEW[173] aQCD[173]

In[3]:=

I was just wondering if one could include some sort of workaround to the autoconf script so that everything would work RedHat/Fedora out of the box?

My Fedora is a pretty much standard version, no weird changes in libraries or pathes

#uname -a
Linux elektron 4.9.13-201.fc25.x86_64 #1 SMP Tue Mar 7 23:47:11 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Cheers,
Vladyslav

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.