Fwd: gf undefined - ( my error ? or distribution specific )
by Paul Campbell
Any fedora 17 octave user with communication installed able to use gf() ?
###########################################################
> pkg load communications
> octave:2> I = gf([1,0,0,0;0,1,0,0;0,0,1,0;0,0,0,1])
> error: `gf' undefined near line 2 column 5
It should create an Identity matrix
###########################################################
Can anyone duplicate problem ?
I had sent this to the octave mailing list.
One opinion was that it might be distribution packaging problem.
octfiledir = /usr/lib/octave/3.6.3/oct/i686-redhat-linux-gnu
jharvard@appliance (~): octave -q
octave:1> octave_config_info ("api_version")
ans = api-v48+
octave:2> octave_config_info ("canonical_host_type")
ans = i686-redhat-linux-gnu
Nothing from rpm -V or which gf
appliance (~): sudo rpm -V octave-communications
# Note only output = CR
appliance (~): octave
GNU Octave, version 3.6.3
# some sniping in welcome messages
Octave was configured for "i686-redhat-linux-gnu".
octave:1> pkg load communications
octave:2> paths=strsplit(path,":")
paths =
{
[1,1] = .
[1,2] = /usr/share/octave/packages/communications-1.1.0
[1,3] = /usr/share/octave/packages/image-1.0.15
[1,4] = /usr/share/octave/packages/signal-1.1.2
[1,5] = /usr/lib/octave/packages/control-2.4.0/i686-redhat-linux-gnu-api-v48+
[1,6] = /usr/share/octave/packages/control-2.4.0
[1,7] = /usr/share/octave/packages/specfun-1.1.0
[1,8] = /usr/share/octave/packages/optim-1.0.17
[1,9] = /usr/share/octave/packages/struct-1.0.9
[1,10] = /usr/share/octave/packages/miscellaneous-1.0.11
[1,11] = /usr/share/octave/packages/audio-1.1.4
[1,12] = /usr/lib/octave/3.6.3/site/oct/i686-redhat-linux-gnu
[1,13] = /usr/lib/octave/site/oct/api-v48+/i686-redhat-linux-gnu
[1,14] = /usr/lib/octave/site/oct/i686-redhat-linux-gnu
[1,15] = /usr/share/octave/3.6.3/site/m
[1,16] = /usr/share/octave/site/api-v48+/m
[1,17] = /usr/share/octave/site/m
[1,18] = /usr/share/octave/site/m/startup
[1,19] = /usr/lib/octave/3.6.3/oct/i686-redhat-linux-gnu
[1,20] = /usr/share/octave/3.6.3/m
[1,21] = /usr/share/octave/3.6.3/m/set
[1,22] = /usr/share/octave/3.6.3/m/deprecated
[1,23] = /usr/share/octave/3.6.3/m/sparse
[1,24] = /usr/share/octave/3.6.3/m/statistics
[1,25] = /usr/share/octave/3.6.3/m/statistics/models
[1,26] = /usr/share/octave/3.6.3/m/statistics/base
[1,27] = /usr/share/octave/3.6.3/m/statistics/tests
[1,28] = /usr/share/octave/3.6.3/m/statistics/distributions
[1,29] = /usr/share/octave/3.6.3/m/time
[1,30] = /usr/share/octave/3.6.3/m/path
[1,31] = /usr/share/octave/3.6.3/m/polynomial
[1,32] = /usr/share/octave/3.6.3/m/startup
[1,33] = /usr/share/octave/3.6.3/m/strings
[1,34] = /usr/share/octave/3.6.3/m/prefs
[1,35] = /usr/share/octave/3.6.3/m/help
[1,36] = /usr/share/octave/3.6.3/m/specfun
[1,37] = /usr/share/octave/3.6.3/m/signal
[1,38] = /usr/share/octave/3.6.3/m/geometry
[1,39] = /usr/share/octave/3.6.3/m/miscellaneous
[1,40] = /usr/share/octave/3.6.3/m/testfun
[1,41] = /usr/share/octave/3.6.3/m/io
[1,42] = /usr/share/octave/3.6.3/m/elfun
[1,43] = /usr/share/octave/3.6.3/m/audio
[1,44] = /usr/share/octave/3.6.3/m/plot
[1,45] = /usr/share/octave/3.6.3/m/special-matrix
[1,46] = /usr/share/octave/3.6.3/m/image
[1,47] = /usr/share/octave/3.6.3/m/linear-algebra
[1,48] = /usr/share/octave/3.6.3/m/general
[1,49] = /usr/share/octave/3.6.3/m/optimization
[1,50] = /usr/share/octave/3.6.3/m/pkg
}
octave:3> which gf # No Output
octave:4>
---------- Forwarded message ----------
Date: Mon, Jul 29, 2013 at 5:11 AM
Subject: Re: gf undefined - ( my error ? )
To: pcsnow <pcsnow(a)gmail.com>
Cc: Octave Help List <help-octave(a)octave.org>
On Sun, Jul 28, 2013 at 18:10:06 -0700, pcsnow wrote:
> pkg load communications
> octave:2> I = gf([1,0,0,0;0,1,0,0;0,0,1,0;0,0,0,1])
> error: `gf' undefined near line 2 column 5
>
> I looked at several examples and I seem to be doing the right thing.
Looks right to me:
octave:1> pkg load communications
octave:2> I = gf([1,0,0,0;0,1,0,0;0,0,1,0;0,0,0,1])
I =
GF(2) array.
Array elements =
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
> yum log
> [...]
> Jul 28 20:36:01 Installed: octave-communications-1.1.0-5.fc17.i686
rpm -V octave-communications shows no problems?
After "pkg load communications" do the paths from the rpm show up in
the Octave runtime path?
octave:1> pkg load communications
octave:2> paths = strsplit (path, ":");
octave:3> paths (!cellfun (@isempty, regexp (paths, "communications")))
ans =
{
[1,1] = /usr/lib/x86_64-linux-gnu/octave/packages/communications-1.1.1/x86_64-pc-linux-gnu-api-v48+
[1,2] = /usr/share/octave/packages/communications-1.1.1
}
octave:3> which gf
'gf' is a function from the file
/usr/lib/x86_64-linux-gnu/octave/packages/communications-1.1.1/x86_64-pc-linux-gnu-api-v48+/gf.oct
--
mike
9 years, 9 months
Re: [Scitech] Fedora 19 Scientific spin
by Ali Mohammed
Hi,
Is fedora 19 Scientific edition is out? I couldn't seem to find it online.
Thanks,
Ali
AIX/LINUX Administrator
IBM TJ Watson Research Center
Office:914-945-1797
alimo(a)us.ibm.com
9 years, 10 months
Fedora 20 Scientific planning
by Amit Saha
Hello everyone,
I would like to get us started with planning for the next release.
I will start by suggesting the new software that I plan to include in the next release:
- Python 3 and Python 3 versions of the libraries (we already ship)
- sympy (the Symoblic Math library for Python - http://sympy.org)
I also got started with packaging PiCloud library [1], but haven't done anything for a long time on it.
In case someone else is interested in taking it forward, let me know.
Also, I am quite unaware of generic libraries for science and Math from the ecosystem
of other languages (Perl, Ruby, Java). Would you like to suggest something?
What else would you like to see in the spin?
[1] https://bugzilla.redhat.com/show_bug.cgi?id=799810
Best,
Amit.
--
Amit Saha <http://echorand.me>
9 years, 11 months
Fedora 19 Scientific
by Amit Saha
Hi everyone,
If you have noticed that there is no release of Fedora 19 scientific, then that is because
I failed to fix a few problems on time. My sincere apologies for that.
So, to help you upgrade from Fedora 18 Scientific to Fedora 19 scientific, I have written some instructions in my post here [1].
I didn't have any trouble upgrading but that was also due to my overtly simplistic setup i believe.
[1] http://echorand.me/2013/07/04/upgrading-fedora-18-scientific-to-fedora-19...
I hope they are helpful and apologies once again.
Best,
Amit.
--
Amit Saha <http://echorand.me>
Infrastructure Engineering and Development
Red Hat, Inc.
9 years, 11 months