The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   UNIX - General (http://hintsforums.macworld.com/forumdisplay.php?f=16)
-   -   Blas Help (http://hintsforums.macworld.com/showthread.php?t=12154)

Nsee 05-27-2003 09:28 PM

Blas Help
 
Recently, I have been working on a project in Apple Computer’s Mac OS X 10.2, where I have been trying to implement Apple Computer’s version of BLAS (www.netlib.org/blas/), which is contained in its veclib framework (http://developer.apple.com/techpubs/...es/vecLib.html). I have been trying very hard to get it working, but I have extremely limited knowledge of compiling under UNIX and all instructions I have found assume some sort of advanced knowledge. One of the places I started understanding this is with the documentation for the PPC G4 Altivec unit (http://developer.apple.com/hardware/ve/index.html). One of the places that seemed to provide tantalizing information was at http://developer.apple.com/hardware/ve/quickstart.html, especially its mentioning of CBLAS, along with here, http://developer.apple.com/hardware/ve/algorithms.html.
One of the best system seems to be GSL, (http://sources.redhat.com/gsl/), but I am unsure if can accomplish the routines I need. I need to accomplish high speed fast fourier transforms in 2 dimensions, maybe even 3. If anyone has any commentary on that program or how to compile it, that would be great also.
Another good place to look is by searching for VBLAS, CBLAS, or BLAS on goggle along with the words “Mac OS X” or “Darwin” or “Terminal”. Another good thing to look up is the SUN supercomputing libraries. Another good place to look is SAL’s numerical analysis miselaneous software. It has many of the links to different BLAS and FFT processing programs. See : http://sal.kachinatech.com/B/0/
Basically, I wish to know how to get a BLAS or similar FFT processing system working in Mac OS X (which has Darwin underlying it) so I can input supercomputer style computations. Anyone willing to help me?

Nsee 05-27-2003 09:30 PM

UPDATE on blas help
 
Thanks for the help, but from all the references I've gotten, its boiled down to a single realization. I do not know how to use GCC correctly. If someone could give me pointers on the correct commands, that would be helpful. Is this http://gcc.gnu.org/onlinedocs/gcc-3.3/gcc/ a good place to start? Thanks for any help!

Nsee 05-27-2003 09:31 PM

STILL Need help with compiling veclib and BLAS using GCC real newbie

is this anything close to right?

Make
# include <veclib/veclib.h>
- include (all the blas files, unless they are already in there)
-E
-std=c89.
iso9899:199409
-I [/system/frameworks….. or other places for all directories with needed files]
-I- [/ for directories that seem to conflict if placed first]
-o (somewhere)

compile (whatever somewhere was) -framework vecLib

hayne 05-28-2003 03:04 AM

ATLAS
 
This page on setting up Mac OS X for scientific computing: http://www.atmos.washington.edu/~salathe/osx_unix/
says that "ATLAS" includes BLAS and supplies a link where you can download a precompiled version of ATLAS.

Nsee 05-29-2003 10:09 AM

On ATLAS
 
I may sound like and idiot, but what is a prebuilt binary, and how do I use it with GCC? That was the file mentioned before.

Nsee 05-29-2003 10:24 AM

Making File
 
i tried to make atlas using
______________________________________
1. Install ATLAS
You can get the details on how to install ATLAS from
ATLAS web-site. (http://www.netlib.org/atlas/)
First you check your gcc version is <= 2.95 or
>= 3.0. If your gcc is 2.96 , ATLAS cannot optimize
their code. We recommend you use gcc version >= 3.2.
$ cd $HOME
$ mkdir lapack
$ cd $HOME/lapack
$ wget http://www.netlib.org/atlas/atlas3.4.1.tgz
The file atlas3.4.1.tgz is downloaded into the directory with the above
command.
$ tar xzvf atlas3.4.1.tgz
$ cd $HOME/lapack/ATLAS
$ make
You may answer some questions about ATLAS. You can use default answers
by typing 'Enter' key. But, at the question "Enter Architecture name (ARCH)",
we recommend 'linux' to make things easier.
$ make install arch=linux
The execution of this command may take long.
__________________________________________________
by modfiyng it with
mkdir lapack
cd lapack
(i put the untared files in tehre)
cd OSX_PPCG4AltiVec_2.1
make

this is the message I got :make: *** No targets specified and no makefile found. Stop.

I am using Mac OS 10.2.6

Can someone help me to specify targets using the files

hayne 05-29-2003 02:30 PM

prebuilt binaries
 
Quote:

what is a prebuilt binary, and how do I use it with GCC?
The end result of compiling a program is a binary executable. When you buy a program or download a program, you don't normally get the source code - you just get the binary executable. I.e. a binary executable is what you run when you double-click an icon in Finder or when you type a command-name in Terminal.

So, a "prebuilt binary" is what you want to get if you just want to run the program - avoiding having to use gcc at all.

sao 05-29-2003 03:10 PM

Nsee,

Or, if you feel adventurous you could:

1- Install Fink from here:

http://fink.sourceforge.net/download/index.php

2- Set Fink environment from here:

http://fink.sourceforge.net/doc/user...tall.php#setup

3- In terminal.app run:

'sudo apt-get update'

'sudo apt-get install xfree86-rootless'

and then

'sudo apt-get install atlas'

And you will have saved yourself the compiling time, as when you install binary packages what you get is a 'ready to run program'.

----------

Fink atlas binary package version-3.4.1-2 : "Portably optimal linear algebra software"

"The current version provides a complete BLAS and LAPACK API. For many operations, ATLAS achieves performance on par with machine-specific tuned libraries. Files installed: cblas.h : The C header file for the C interface to the BLAS. liblapack.a : The LAPACK routines provided by ATLAS, plus the rest of LAPACK from netlib.org. libcblas.a : The ANSI C interface to the BLAS. libf77blas.a : The Fortran77 interface to the BLAS. libatlas.a : The main ATLAS library, providing low-level routines for all interface libs".

----------

sao 05-29-2003 03:21 PM

'fink info atlas' will give you also:
Code:

.............................
.............................
Usage Notes:
 Order is important when linking!  Use:
 -L%p/lib -llapack -lcblas -lf77blas -latlas
 Must be run interactively (asks a lot of questions, use default answers
 unless you really know what you are doing). For "architecture" choose "UNKNOWN"
 if you have a G3, "G4" if you have a G4.


Nsee 05-29-2003 04:41 PM

THANKS
 
It has been a crazy couple of weeks, but thank you to all last three posters, you have really been a help. I will update you on my progress, this has really helped. If I can ever help, hey I'll be around... :cool:

Nsee 05-30-2003 02:14 PM

problems again
 
I have tried installing fink and x11, and have tried running the atlas download, and it does not work. How do I use it.
Fink does not install fully.

sao 05-30-2003 02:35 PM

Quote:

Nsee wrote:
...and have tried running the atlas download, and it does not work. How do I use it. Fink does not install fully.
Please, run the following in terminal.app and post here the results:

'fink -V'
'fink list -i xfree86'
'fink list atlas'

Nsee 05-30-2003 03:12 PM

fink install
 
I am currently now installing fink, for i found it did not do so....how long is it supposed to take?

Nsee 05-30-2003 03:14 PM

plus in the middle of every bootstrap like giant chunck of text, it then starts checking files, the same set of files
everytime it says creating libtool
what is it doing?

Nsee 05-30-2003 03:19 PM

small section of what it is doing...the terminal that is
 
checking version of bison... 1.28, ok
checking for catalogs to be installed... cs da de el en@quot en@boldquot es et fr gl id it ja ko nl nn no pl pt pt_BR ru sl sv tr zh
checking for emacs... /usr/bin/emacs
checking where .elc files should go... $(datadir)/emacs/site-lisp
checking for dvips... /filly/src/gettext-0.10.40-3/gettext-0.10.40/missing dvips
checking for texi2pdf... /filly/src/gettext-0.10.40-3/gettext-0.10.40/missing texi2pdf
checking for texi2html... /usr/bin/texi2html
configure: creating ./config.status
cd . \
&& CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating Makefile
make: *** Warning: File `Makefile.in' has modification time in the future (2001-09-14 21:32:16 > 1970-01-01 02:30:32)
cd . && autoconf
/bin/sh ./config.status --rech

Nsee 05-30-2003 03:21 PM

another section
 
rap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib CPPFLAGS=-no-cpp-precomp -I/filly/bootstrap/include LDFLAGS=-L/filly/src/gettext-0.10.40-3/gettext-0.10.40/intl/.libs -L/filly/bootstrap/lib --no-create --no-recursion

Nsee 05-30-2003 03:24 PM

its starts here about every 2 minutes
 
running /bin/sh ./configure --prefix=/filly/bootstrap --infodir=/filly/bootstrap/share/info --mandir=/filly/bootstrap/share/man -

sao 05-30-2003 03:36 PM

Nsee,

Wow...wait a minute, are you using OSX 10.2 ( 'sw_vers') and did you download the fink installer from here?

http://fink.sourceforge.net/download/index.php

Nsee 05-30-2003 03:42 PM

For all the forums ive posted on
 
http://forums.macnn.com/showthread.p...62#post1422362
http://www.macosx.com/forums/showthr...720#post220720
http://www.lists.apple.com/mailman/listinfo/scitech
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
http://www.computing.net/mac/wwwboard/forum/7846.html
http://www.simdtech.org/apps/group_p...c/threads.html

Nsee 05-30-2003 03:44 PM

fink
 
no i read all the documentation about 10.2 and followed the 10.2 instructions for fink from sourceforge

Nsee 05-30-2003 04:06 PM

Currently, I need to know if I can quit the terminal, it still doing all that checking and compilng, and my system will be fine. I cannot leave this machine in administrator over the weekend. Sorry.

sao 05-30-2003 05:03 PM

Nsee,

I think something is going very wrong with your installation of Fink, it shouldn't take so long, so you better stop the compilation, we will cleanup later and start again.

And I must say, we are not understanding each other very well, why didn't you downloaded the Fink installer I pointed to you?

So, which Fink installer you downloaded, can you point to the web page?

I just finished compiling 'atlas version-3.4.1-2' from source with Fink and although is a rather complicate install due to all the questions asked during the configure process, it installed without any problem.

As soon as you install Fink succesfully I will post the configuration that worked for me.

Nsee 05-30-2003 05:48 PM

Blas help
 
Thank you very much. i just have to go over several points. i did stop the installation, and do not worry, i have full administrator access over the machine, plus, i have 40 identical systems that i can "try" various configuratiosn with.
My questions are:
1) Should i try again with exclusivly your link, will that work for 10.2.6
2) Should I try darwinports instead (http://www.opendarwin.org/projects/darwinports/), using fink2dp for any missing packages http://www.opendarwin.org/pipermail/...er/000370.html
3) would it help if i used a more unix like enviroment like x11 or xfree86 or xdarwin exclusively
4) Any other requirements you belive i should follow?

sao 05-30-2003 06:03 PM

Quote:

Nsee wrote:
...Should i try again with exclusivly your link, will that work for 10.2.6
Yes, it will work.

I have to stop now and go to sleep, as it is very late in Singapore, will continue tomorrow...

sao 05-31-2003 02:32 AM

Nsee,

You might have a partial installation of Fink already, so check if you have a /sw directory. If you do, let's remove it to start a clean installation. Run in terminal.app:

sudo rm -rf /sw


Then, please follow the steps below:

1- Download the Fink Installer from here:

http://fink.sourceforge.net/download/index.php

2- Install Fink:

"Double-click "Fink-0.5.2-Installer.dmg" to mount the disk image, then double-click the "Fink 0.5.2 Installer.pkg" package inside. Follow the instructions on screen".

3- Set Fink environment following the indications here:

http://fink.sourceforge.net/doc/user...tall.php#setup

4- After that's done, open terminal.app and run:

'fink scanpackages'

When this is done, let me know.

Note before we continue:
Do you have Apple December 2002 Developer Tools installed? If you do, you can also install with Fink, the package 'atlas' from source, like I did yesterday.

Nsee 05-31-2003 10:35 AM

Yes i have the december 2002 developer tools installed, but since it is a weekend, I cannot access my work machine, so I will tell you my progress in two days.

sao 05-31-2003 04:41 PM

Nsee,

Once you installed Fink, if you want to compile 'atlas' from source from the current-stable release (this is the most recent stable version that can be installed from source for OSX 10.2), run in terminal.app in the following order:

fink selfupdate-cvs

To update the package descriptions and a few essential core packages.

fink update-all

To update your packages to the latest available versions.

Then, if you want to install Xfree86 with Fink, run:

fink install xfree86-rootless

And finally:

fink install atlas

sao 05-31-2003 04:43 PM

When compiling starts, configure will ask you a lot of questions, I selected the default answer in most cases as you can see here:
Quote:

Configure will ask a series of questions, in one of two forms. The first form
of question is a menu of choices. One option in almost all menus is
'Other/UNKNOWN'. If you are unsure of the answer, always choose this option.
The second form of question is a single line, with a default answer shown in
square braces. If you hit return without typing anything, this default answer
will be used. Again, if you are unsure of the answer, simply accept the
default.

ATLAS can detect almost everything it needs to know, so choosing the default
or 'Other/UNKNOWN' will at worst simply extend the install time (if you tell
config the answer to something ATLAS can skip some tests).

Configure makes no changes to the state of things until all questions have
been asked and answered. Therefore, if you get confused and want to start
over, feel free to break out of this program (CTRL-C, CTRL-BREAK, etc)
and start again. Alternatively, if you make a mistake you can finish the
configure process, and then edit the created make include file by hand to fix
the mistake manually (the name and location of this file will be printed
out at the end of configure).

If you have problems during configure or installation, consult the file
'ATLAS/README/TroubleShoot.txt'.

I need to know if you are using a cross-compiler (i.e., you are compiling on
a different architecture than you want the library built for).

Are you using a cross-compiler? [n]:

Probing to make operating system determination:
Operating system configured as OSX

Probing for architecture:
Enter your machine type:
1. PowerPC 604e
2. PowerPC 604
3. PowerPC G4 (7400)
4. Other/UNKNOWN
Enter machine number [4]: 3
Architecture is set to PPCG4

Probing for supported ISA extensions:
AltiVec: DETECTED!
Number of CPUs: 1

Looking for compilers:
/usr/bin//gcc : v3.1.20020420
F77 = /sw/bin/g77 -funroll-all-loops -O3
CC = /usr/bin/cc -fomit-frame-pointer -O3 -traditional-cpp -faltivec
MCC = /usr/bin/cc -fomit-frame-pointer -O2 -traditional-cpp -fschedule-insns
-fschedule-insns2 -faltivec

Looking for BLAS (this may take a while):

Unable to find usable BLAS, BLASlib left blank.
FINDING tar, gzip, AND gunzip
tar : /sw/bin//tar
gzip : /sw/bin//gzip
gunzip : /sw/bin//gunzip

sao 05-31-2003 04:45 PM

Quote:

ATLAS has default parameters for OS='OSX' and system='PPCG4'.
If you want to just trust these default values, you can use express setup,
drastically reducing the amount of questions you are required to answer

use express setup? [y]:

You need to choose a name which represents this architecture (eg. UltraSparc,
Dec21164, etc). Do not use a generic name (eg. solaris, linux), which might
apply to different hardware. This architecture name will be appended to the
name of the created make include file, and appear in all subdirectories, so
don't make it longer than you like to type. The name should follow the rules
for file names (so don't use punctuation and spaces, for instance).

Enter Architecture name (ARCH) [OSX_PPCG4AltiVec]:
<arch> set to 'OSX_PPCG4AltiVec'

This next value is the size, in kilobytes, that ATLAS must read/write in order
to completely flush your largest cache. ATLAS will flush this much memory
between timing calls, in order to ensure timings are not inflated by
cache preloading. A safe maximum is usually twice the size of your actual
largest cache size. If you do not know the size of your largest cache,
a maximum value is fine. The only drawback to making this value large
is that it requires more memory to do timings, and may slow down
the install process (if you have only a small amount of memory, it can also
invalidate the timings by causing the timers to swap). The default given
below is ATLAS's idea of either the maximum cache your system could have, or
the maximum ATLAS believes it is safe to flush. If you are certain that
your largest cache is smaller than the default given below, expedite the
install by changing it. If you are certain you have enough memory to
support the necessary memory demands without swapping, and the value
is not twice the size of your largest cache, increase it. Otherwise, just
hit enter to continue.

Enter Maximum cache size (KB) [4096]:

The ATLAS install process is heavily file-based, and this can cause major
reliability problems when interacting with an overloaded or malfunctioning
remotely mounted filesystem. ATLAS therefore has a mechanism in place to
allow for a delay before a file is declared to not be there, so that
slow NFS (i.e., waiting for amd timout) problems can be overcome, or for
handling slightly differing clocks between server/client. This problem is
magnified if doing cross-compilation. In the question below, we ask how
much of a delay, in seconds, ATLAS should tolerate between file creation
and appearance. If you are installing on a local filesystem (eg. /tmp) or
a smooth-running NFS system, answer 0; for a moderately loaded NFS server, you
may want a value in the 10 second range, and for cross-compiling systems or
NFS servers experiencing errors, you may want to go as high as a couple
of minutes (120).

Enter File creation delay in seconds [0]:

Nsee 05-31-2003 04:50 PM

thank you so much i wil tell you how everytihng goes

sao 05-31-2003 04:51 PM

Quote:

I'm going to ask you for information about your Fortran 77 compiler. ATLAS
does not need Fortran77 to build, so if you don't have a Fortran compiler,
the install can still be completed successfully. However, ATLAS built without
a Fortran compiler will not be callable from Fortran (i.e., the user should
use the C interface), and we will not be able to do full testing, since some of
the tester code is written in Fortran77.

Enter f77 compiler [/sw/bin/g77]:
Enter F77 Flags [-funroll-all-loops -O3]:
F77 & FLAGS: /sw/bin/g77 -funroll-all-loops -O3
FLINKER & FLAGS: $(F77) $(F77FLAGS)

CC & FLAGS: /usr/bin/cc -fomit-frame-pointer -O3 -traditional-cpp -faltivec
MCC & FLAGS: /usr/bin/cc -fomit-frame-pointer -O2 -traditional-cpp -fschedule-insns
-fschedule-insns2 -faltivec
CLINKER & FLAGS: $(CC) $(CCFLAGS)

Finding F77 to C calling conventions (this may take a while):

Calculated F77/C interoperation conventions:
Suffix F77 names with underscores with __
F77 INTEGER -> C int
F77 strings handled via standard sun style

The ATLAS team has provided a default install for your architecture. If you
want, these default values can be used, and ATLAS can skip most of the search
for your machine. This will greatly decrease the amount of time required for
the install, allow you to take advantage of any special features found by the
ATLAS team, and provide protection against install miscues caused by unreliable
timing results, assuming you really have the machine ATLAS thinks you have. If
your machine is non-standard in some way, or you just want to see the ATLAS
search for yourself, you should answer no to the following question. Otherwise,
it is highly recommended to accept the default of yes.

Use supplied default values for install? [y]:
After answering this last question, the compilation and tests starts.

sao 05-31-2003 04:53 PM

Once install is done, you can check the following info in /sw/share/doc/atlas:
Quote:

AtlasCredits.txt : The ATLAS team
BootSequence.txt : Rough outline of how the ATLAS install works, and what files it creates.
ChangeLog.txt : Brief summmary of changes from previous releases.
DirStruct.txt : A graphic of the general organization of the ATLAS files
INDEX.txt : This index file again
LibReadme.txt : Information on generated libraries.
TestTime.txt : Information on using the ATLAS testing and timing programs
TroubleShoot.txt : Help with troubleshooting your installation, including where to find more help
Windows.txt : Special information users of Microsoft Windows (95/98/NT/2K) should read
atlas_contrib.ps : Information on how users can speedup and contribute to ATLAS by providing low-level kernel routines
altas_over.ps : Paper describing ideas and basic methods of ATLAS
cblas.ps : Extract of the BLAST standard document, describing the standard C interface to the BLAS.
fblasqr.ps : Quick reference to the F77 interface to the BLAS.

Nsee 05-31-2003 04:55 PM

if there is nothing more too this, that is perfect
thank you very much for your help, youve done so much work on this that i could never have figured out
your probably tired, get some sleep before i end up asking too many questions (<-- joke) (and you probably can see im not too good at them either)

sao 05-31-2003 05:20 PM

Nsee,

I had already installed long ago g77 (the GNU FORTRAN77 compiler) if you don't have it in your machine, when you install the 'atlas' package, Fink will probably install it, as 'atlas' BuildDepends on g77.

Well, is important that you install Fink correctly and set up the environment first. Let me know if you have any problems. Good luck.

Nsee 05-31-2003 05:25 PM

thank you, no need to reply to this one

Nsee 06-01-2003 09:14 PM

This is not an urgent question or a problem, now that I know how to do this, once I am able to do a mathematical transform, how fast does anyone think this will be? Has anyone had any experience with this?
Another point, over the summer I may try to make the equivalent of a mac beowulf cluster to do this, maybe with pooch, its an interesting idea to begin coding.
But these are just pipe dreams, right now I'm thankful I have the instructions.

BTW Sao, you dont need to respond to this extraneous post, you've helped me a lot, and maybe you should rest. :D (maybe one day I'll do jokes well...but today is not the day.........)

hayne 06-01-2003 10:59 PM

speed?
 
Quote:

now that I know how to do this, once I am able to do a mathematical transform, how fast does anyone think this will be?
An African or a European transform? :)

Nsee 06-02-2003 02:29 PM

Oh, yeah, an African transform maybe, but not a European transform. That's my point.

Nsee 06-02-2003 02:43 PM

Quote:

Originally posted by sao

Then, please follow the steps below:

1- Download the Fink Installer from here:

http://fink.sourceforge.net/download/index.php

2- Install Fink:

"Double-click "Fink-0.5.2-Installer.dmg" to mount the disk image, then double-click the "Fink 0.5.2 Installer.pkg" package inside. Follow the instructions on screen".
I have done this part

Nsee 06-02-2003 02:47 PM

fink scanpackages returned this
_________________________________________________________
Information about 1159 packages read in 1 seconds.

dpkg-scanpackages dists/local/main/binary-darwin-powerpc override | gzip >dists/local/main/binary-darwin-powerpc/Packages.gz
Wrote 0 entries to output Packages file.
dpkg-scanpackages dists/stable/main/binary-darwin-powerpc override | gzip >dists/stable/main/binary-darwin-powerpc/Packages.gz
Wrote 0 entries to output Packages file.
dpkg-scanpackages dists/stable/crypto/binary-darwin-powerpc override | gzip >dists/stable/crypto/binary-darwin-powerpc/Packages.gz
Wrote 0 entries to output Packages file.
dpkg-scanpackages dists/local/bootstrap/binary-darwin-powerpc override | gzip >dists/local/bootstrap/binary-darwin-powerpc/Packages.gz
Wrote 0 entries to output Packages file.
_________________________________________________________

Nsee 06-02-2003 02:51 PM

fink selfupdate-cvs
 
[SHS-T01-03:~] admin% fink selfupdate-cvs
sudo /sw/bin/fink selfupdate-cvs

The selfupdate function can track point releases or it can set up your Fink
installation to update package descriptions from CVS. Updating from CVS has
the advantage that it is more up to date than the last point release. On the
other hand, the point release may be more mature or have less bugs.
Nevertheless, CVS is recommended. Do you want to set up direct CVS updating?
[Y/n] y

Fink has the capability to run the CVS commands as a normal user. That has
some advantages - it uses that user's CVS settings files and allows the
package descriptions to be edited and updated without becoming root. Please
specify the user login name that should be used: [admin] admin

For Fink developers only: Enter your SourceForge login name to set up full
CVS access. Other users, just press return to set up anonymous read-only
access. [anonymous] anonymous

rm -rf /sw/fink.tmp
mkdir -p /sw/fink.tmp
chown admin /sw/fink.tmp
Checking to see if we can use hard links to merge the existing tree. Please
ignore errors on the next few lines.
touch /sw/fink/README; ln /sw/fink/README /sw/fink.tmp/README
Now logging into the CVS server. When CVS asks you for a password, just press
return (i.e. the password is empty).
su admin -c 'cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/fink login'
Too many ('s.
(Logging in to anonymous@cvs.sourceforge.net)
CVS password:
cvs [login aborted]: recv() from server cvs.sourceforge.net: Connection reset by peer
### execution of su failed, exit code 1
Failed: Logging into the CVS server for anonymous read-only access failed.


shall i keep trying again

Nsee 06-02-2003 02:53 PM

after cvs password it now says this

Now downloading package descriptions...
su admin -c 'cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/fink checkout -d fink dists'
Too many ('s.
cvs [checkout aborted]: recv() from server cvs.sourceforge.net: Connection reset by peer
### execution of su failed, exit code 1
Failed: Downloading package descriptions from CVS failed.

Nsee 06-02-2003 02:56 PM

sourceforge seems ok
 
at http://sourceforge.net/docman/displa...352&group_id=1

Executive Summary_» | doc feedback | support

_ _ SourceForge.net Web Site: Online
_ _ Project Shell Services: Online
_ _ Project CVS Services: Online
_ _ Download Services: Online
_ _ Project Web Services: Online
_ _ Project MySQL Database Services: Online
_ _ Project VHOST Services: Online
_ _ Compile Farm: Online
_ _ Foundry System: Online
_ _ Mailing List Services: Online

Nsee 06-02-2003 02:58 PM

this could seem to show a problem
 
at sourceforge

Our search servers are currently experiencing high load. Please try your search again later.

Nsee 06-02-2003 03:10 PM

It seems to be working
 
Currently installing atlas :-)

Nsee 06-02-2003 03:16 PM

time
 
exactly how long should all the downloading take? i really think 100 kb/s is fast enough? I better remind myself to install that QC-48 connection one day.

Nsee 06-02-2003 03:33 PM

nevermind i made a break and chose a different site to download from

hayne 06-02-2003 03:41 PM

conventions
 
It is conventional to work on your own for a while and only post to the forum when you encounter a problem that you cannot solve on your own after at least several minutes of research and trying various things.

With the current forums notification mechanism, people who have participated in a thread get an email notification when someone relies to the thread. If there is a lot of useless traffic on a thread, most people will unsubscribe from these notifications. Hence the more you post, the less likely anyone is reading it.

sao 06-03-2003 12:22 PM

Quote:

cvs [update aborted]: recv() from server cvs.sourceforge.net:
Connection reset by peer
### execution of su failed, exit code 1
Failed: Updating using CVS failed. Check the error messages above.
Nsee, that message usually means that the cvs servers are overloaded and you have to try the update later. Check the Fink FAQs:

http://fink.sourceforge.net/faq/usage-fink.php#cvs-busy

http://fink.sourceforge.net/faq/

Nsee 06-03-2003 05:07 PM

Do not worry
 
Everything Turned out very well. The Atlas install went fine, though a power outage did occur in the middle of it. After that, I installed FFTW 3.0, which works fine, but has the same file access issues as ATLAS (see below). I found FFT code for Atlas's blas, but the problem is I am not completely sure how to insert it. I will write an addendum post on this later on my research, since I did a lot of this, but pretty much, the ATLAS manual give no indication of which ATLAS_ commands allow access to the program's coding mechanism and how to specify files to mathermatically transform.

Nsee 06-11-2003 02:25 PM

FFT woes and worries
 
The FFT code I found is listed under FFT.b , FFT.m, FFT.f on http://www.netlib.org/go/; another at http://www.netlib.org/toms/545; among others.

One of the solutions I have found is at http://sourceforge.net/projects/mffmfftwrapper/, but I do not know how to implement it. If this will allow FFTW on my machine to easily take in data and do a 3D FFT or slices of it in 2D that would be great.

Remember I have fink installed along with ATLAS and FFTW.

Also I looks like I can set up the 3D coordinate data set using dynagraph (http://www.math.umbc.edu/~rouben/dynagraph/) which is installable via fink. Is this accurate.

Here is the list of sites I have visted if you are that interested:
http://www.netlib.org/go/
http://math-atlas.sourceforge.net/errata.html
http://forums.macosxhints.com/
http://forums.macosxhints.com/showth...0&pagenumber=2
http://www.fftw.org/doc/Installation...omization.html
http://www.fftw.org/doc/Installation-on-Unix.html
http://www.fftw.org/faq/section2.html
http://fink.sourceforge.net/pdb/package.php/fftw
http://www.fftw.org/doc/
http://www.fftw.org/download.html
http://www.fftw.org/install/install-Mac.html
http://www.fftw.org/faq/section4.html
http://www.fftw.org/faq/section3.html
http://www.fftw.org/faq/
http://www.fftw.org/
http://www.google.com/search?hl=en&i...+program+atlas
http://www.lohninger.com/examples_part1.html
http://www.hlrn.de/doc/atlas/
http://www.netlib.org/blas/faq.html
http://www.hlrn.de/doc/atlas/index.html
http://www.netlib.org/blas/
http://www.netlib.org/lapack/
http://www.cs.colorado.edu/~lapack/a..._routines.html
http://www.netlib.org/lapack/archives/
http://www.netlib.org/toms/545
http://sourceforge.net/softwaremap/t..._cat=98&page=2
http://www.netlib.org/lapack/lug/lapack_lug.html
http://www.fftw.org/doc/Installation...x-systems.html
http://tcl.foundries.sourceforge.net/
http://sourceforge.net/tracker/?grou...11&atid=104511
http://sourceforge.net/projects/matlisp/
http://sourceforge.net/projects/cipsoftware/
http://sourceforge.net/projects/glucas/
http://sourceforge.net/projects/sigprox/
http://sourceforge.net/projects/mffmfftwrapper/
http://www.math.umbc.edu/~rouben/dynagraph

__________________
May have found a solution but someone needs to walk me through using it. There is a very expensive application called SPIDER (http://www.wadsworth.org/spider_doc/...cs/master.html) that I can access at http://asdp.bio.bnl.gov/ using the instructions found herehttp://asdp.bio.bnl.gov/asda/LSD/EM/Spider.html. I have several problems with this, it is not a reliable solution, it limits my disk space, it is more complex in mounting, I do not acctually possess the program, the mistakes that can happen are more severe, and I also have sunk a lot of time into this first solution.

Any Thoughts on either side of the problem?

Nsee 06-20-2003 12:42 PM

On Spider
 
I am trying to use spider (see previous post), and my system's performance is sluggish. Anyone have any experience with network applications like this that has suggestions on improving speed? I have tried to make it faster, but there always seems to have a bottle neck.


All times are GMT -5. The time now is 06:06 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.