Re: [lazarus] GPU info

2007-11-26 Thread Lv

Someone sent me a link to CUDA from Nvidia.

After looking at some of the source code it seems that there are two 
(see below) includes that makes CUDA the numerical processor.



include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 


Generally, how difficult do you think it is it to interface such 
includes with FPK or Fortran?

Surely they can be wrapped.

Users reported a 80x improvement with Cudo on a Gforce compared to a 
Opteron 2GHZ!


The test was single precission though.



Lv wrote:

That is a great reference for me to dig into, thanks.

Lord Satan wrote:

Hope this helps:

http://www.gpgpu.org/
http://developer.nvidia.com/object/cuda.html

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives




_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives




_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] GPU info

2007-11-19 Thread Lv

That is a great reference for me to dig into, thanks.

Lord Satan wrote:

Hope this helps:

http://www.gpgpu.org/
http://developer.nvidia.com/object/cuda.html

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives




_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] GPU info

2007-11-19 Thread Lv
Hi Florian, I tried to search for it but could only find a vague 
reference to Cephes.

Do you have a link to (hopefully) the source code in C?

Florian Klaempfl wrote:

Lv schrieb:



Is there anybody who developed a unit or did any work for using GPU's
for numerical computation with FPK/Lazarus?


Only in C.


_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] GPU info

2007-11-19 Thread Lv

My question is along the lines of this paper.
"http://citeseer.ist.psu.edu/555028.html";

Is there anybody who developed a unit or did any work for using GPU's 
for numerical computation with FPK/Lazarus?


Also, if anyone knows, what are the increase in speed expected over the 
best Intel or AMD has to offer compared to a current best GPU?



Developing a floating point (if such a GPU exists in double or extended 
precision) unit on a GPU should not be so difficult as the Unit only 
need to do a few basic elementary functions from which all the remainder 
of functions and special functions can be obtained.


Here is an overview of GPU issues.
"http://64.233.169.104/search?q=cache:SastpUrSdOMJ:www.gpgpu.org/sc2006/workshop/Apple_GPUintrinsics.pdf+gpu+numerical+floating&hl=en&ct=clnk&cd=1&gl=us";

Anyone have any info?

Thanks

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] going legal, time for a name change....

2007-08-11 Thread Lv

Florian is right.

However, if you want to make someone stop you do have to, because here 
in the US it becomes a criminal offense if someone continues to use a 
mark if it is registered.


Also, you cannot claim damages if it is not registered.

I just won a case against someone so I should know.







Florian Klaempfl wrote:

David Lyon schrieb:

David Lyon wrote:

Michael Van Canneyt wrote:

Exactly. Same for Belgium; Also, a US trademark as far as I know has
no meaning in Europe unless it was also registered in the European
trademark organization.

Not sure if this is the right one. but I have checked

http://oami.europa.eu/en/default.htm#


nothing there

so the cost of registering Lazarus as a Trademark in Europe needs also
to be followed up.


There is no need to register a trademark if you can prove otherwise
(publications etc.) that you use this trademark.

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives




_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Multiprocessing compiler

2007-08-05 Thread Lv

Thanks Michael and Marco.
Conceptually what you did in the Wiki is about how far I thought it 
through on my own.


I wonder if it is not better to completely drop any of the C attempts as 
it does not really make sense to adapt the non-readability path followed 
there. I think we all want to avoid that and that is why we are here.
Fortran is really the greatest tool for this in my opinion, but maybe a 
better language to "borrow" from is ADA?
I did not look into their archives a lot but they might have solved the 
same conceptual issues haunting us.


There used to be a program on the web years ago that would to some 
extent parallelize a given binary, but I cannot find the link anymore.

Anyone know about it? or something similar?
I know this is "poor man's" parallel, and ridiculously inefficient, but 
it sure makes computational times a bit shorter. Any bit helps.


I currently get along by just writing programs in 
preprocessor-processor-collate fashion which gives me the ability to run 
things massively parallel across several servers, but it gets bulky with 
all the file io in between processes. Just forget about load 
balancing...(dont laugh) this is a crude bash script looking ahead what 
cpu resources/memory are available and schedule programs accordingly.


But, crude as it may sound, it saves me about 6x the time and works 
great, but at some stage i am going to run into a brick-wall with it.








Marco van de Voort wrote:

On Sat, 4 Aug 2007, Lv wrote:


Did anyone attempt a multiprocessing compiler version of fpk yet in order to
compile for clusters and run together with a load balancing unit.

I believe some brainstorming was done to see how it could be
implemented with some compiler hints, but nothing was implemented.


The brainstorming is here : http://wiki.freepascal.org/OpenMP_support

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives




_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Multiprocessing compiler

2007-08-04 Thread Lv
Did anyone attempt a multiprocessing compiler version of fpk yet in 
order to compile for clusters and run together with a load balancing unit.


Thanks.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] objcom

2007-03-17 Thread Lv

Thanks Jeff, and guys,
I will try everything out and read all the mails.
I need something fast so that is why I call on the collective mind.

I will reply to give feedback and close the links once I worked through 
everything.


Jeff Steinkamp wrote:

Give this a try

Jeff
- Original Message - 
From: "Lv" <[EMAIL PROTECTED]>

To: "Jeff Steinkamp" <[EMAIL PROTECTED]>
Sent: Friday, March 16, 2007 20:55
Subject: Re: [lazarus] objcom



I dont need terminal protocols, just need to send a byte and receive a byte and 
set the serial port parameters.

That's all. I can build up whatever I want from there.

If that can do it, please let me know where I can get it.



Jeff Steinkamp wrote:

----- Original Message - 
From: "Lv" <[EMAIL PROTECTED]>

To: 
Sent: Friday, March 16, 2007 20:02
Subject: [lazarus] objcom





Does anyone have a working source tree of objcom for Linux?
All the links on the Lazarus Units page to this is dead.
I did a random search on the web and got the source but the makefile is not 
bash-happy.


or

Do you have any other known source for simple byte transmit and receive for 
serial ports (ttyS0,1,2,3).






I have a simple serial unit that I have used in Delphi for many years that I am 
sure will convert without a lot of work.


Jeff






Finding fabulous fares is fun.  Let Yahoo! FareChase search your favorite 
travel sites to find flight and hotel bargains.

http://farechase.yahoo.com/promo-generic-14795097










 

8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.

http://tools.search.yahoo.com/shortcuts/#news


_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] objcom

2007-03-16 Thread Lv

Does anyone have a working source tree of objcom for Linux?
All the links on the Lazarus Units page to this is dead.
I did a random search on the web and got the source but the makefile is 
not bash-happy.


or

Do you have any other known source for simple byte transmit and receive 
for serial ports (ttyS0,1,2,3).


Thanks

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Cell processor and ppc386/Lazarus

2007-01-15 Thread Lv
Is there any chance that there will be a compiler for the Sony 
Playstation Cell processor.
As touted, it might just outdo most of the Intel/AMD chips on Floating 
point and since Floating point performance is all I am interested in, 
for my work it would be nice to see if it is really better.

It would also be nice to be able to compile programs on/for it.
I use anything that gives me the better floating point/$ ratio.

PSIII It does run linux as you all know.

Quoted from wiki.

"Linux
Gentoo Linux installed on a PS3.


Originally Sony stated that they were going to pre-install Linux on the 
PS3's hard drive, but current units shipping do not include Linux 
pre-installed. Instead, Sony has made an option in the XMB menu to 
install other operating systems.[44]


Fedora Core 5 and Gentoo have been run on the PS3[45][46]. Fedora Core 5 
has, however, not been optimized for the relatively low amount of RAM. 
The Sony-sponsored Yellow Dog Linux for the PS3 was released on November 
27, 2006 to the YDL.net community, and was released on DVD on December 
11, 2006, and finally as a publicly available image in late December.[47]


“ 	Because we have plans for having Linux on board [the PS3], we also 
recognize Linux programming activities… Other than game studios tied to 
official developer licenses, we'd like to see various individuals 
participate in content creation for the PS3. 	”


—on the presence of the Linux in the PS3.



L Venter

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Request for PR noise !

2006-05-17 Thread Lv
So if you guys want to change the name, where does it leave users like 
me presenting papers at conferences and citing Lazarus in technical 
papers as my software of choice?

I am asked a lot what software I use and I explicitly promote Lazarus/FPC.
This thread make me believe that I will segfault myself to promote 
Lazarus as the rug will be pulled under serious users feet.
Afte this I would rather tell the world I am using Delphi but behind the 
scenes use Lazarus as I know Delphi

I cannot cite Lazarus in papers and then find..oh..it is now called Phoenix.
I will in future not cite Lazarus as the name will probably change, but 
rather give personal credit to the authors who assisted me.


Lazarus was a nice way to get around the Pascal-debunkers and it worked 
well, but I cannot cite something that is so mindlessly considered for 
rebranding.


Usually a name change is associated with public pressure, which would be 
ok as the world requires it and users promoting it  dont have to segfault.







Thierry Andriamirado wrote:

Le samedi 13 mai 2006 à 18:55 -0300, Flávio Etrusco a écrit :



but as somebody already said some days ago in another thread, I think
mixing religion with anything is a bad idea... I wouldn't mind



I remember, after megido (?), and the beginning of Lazarus, I thought
this name was a bad idea. why not Phenix, Phoenix... ? In fact I don't
really care... few years after, I think that it's more important for the
moment to communicate about what Lazarus can do and where it goes.

If we decide to change the name, it's better to do it for example at the
same time as 1.0, or any other important event.



_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] FITS I/O Libraries

2006-04-17 Thread Lv

here are available fits format library sources.
"http://fits.gsfc.nasa.gov/fits_libraries.html";

What would be the easiest path to incorporate as a unit or library into 
lazarus or FPC?


C C++ C# will remain forever lost to me so the only options i am willing 
to try and convert is Java/perl/Fortran/Python.


What about the Perl option?
Is it possible to call a Perl program from Lazarus?
Perl is quite platform independent but slow, but I can live with that.

I find the SHELL command as a real pain to pass variables between Pascal 
/Lazarus and the SHELL program.

Is there any way to communicate lazarus variables and arrays with SHELL
variables without writing and reading to and from files?

Thanks

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Lazarus Examlpes.

2006-01-04 Thread Lv

Vincent

The site changed a lot and examples were not where they used to be.
I somehow missed the new Wiki!
Sorry about that.
That looks like a good start.
Thanks a lot.

If anyone has some additional off-site examples I would appreciate it.




Vincent Snijders wrote:

Lv wrote:

Does anyone have a relatively complex Lazarus example available I can 
study?

The example needs to contain plotting of data, graphs etc.
it will help me shorten my development.



What about TAChart and its example application: 
http://wiki.lazarus.freepascal.org/index.php/TAChart


HTH,
Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives




_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Lazarus Examlpes.

2006-01-04 Thread Lv

Does anyone have a relatively complex Lazarus example available I can study?
The example needs to contain plotting of data, graphs etc.
it will help me shorten my development.

Thanks

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Pascal and CGI-bin

2005-12-31 Thread Lv

I would like to see that.


Graeme Geldenhuys wrote:

Hi,

Now if only it would be possible to compile a Lazarus application to 
make the GUI accessible through a browser.



I played with that idea under Delphi, and actually compiled my 
application, so that it looks like a Netscape Browser plugin to Netscape 
and Mozilla.  It was standard Object Pascal, so should work under Free 
Pascal and Lazarus as well.


I will find my code and post a link where it could be downloaded.  I 
know it is not quite what you talked about.


Regards,
  - Graeme -



_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Pascal and CGI-bin

2005-12-30 Thread Lv

I just tried it and it works very well!
Running on my web server already.


Now if only it would be possible to compile a Lazarus application to 
make the GUI accessible through a browser.


(I know it should rather be done with java, but who wants to learn new 
languages all the time)


Is there anything in the pipeline where applications written in lazarus 
can be compiled for a browser GUI?
Meaning that the gui will appear within a browser and therefore web 
accessible?




_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Pascal and CGI-bin

2005-12-30 Thread Lv

Ales & Tony
Thank you very much.
Way to go!
I will work through the site and examples.

Thanks.






Tony Pelton wrote:

you might want to take a look at this :

http://www.psp.furtopia.org/cgi-bin/psp/index.psp

Tony

On 12/30/05, Lv <[EMAIL PROTECTED]> wrote:


Is there any way I can use my pascal programs from cgi-bin?
I can wrap the pascal programs with a bash or Perl script in cgi, but I
just wondered if there isnt some pascal-cgi module or scripting language
available?


Perl is just too cryptic for me.






_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Pascal and CGI-bin

2005-12-30 Thread Lv

Is there any way I can use my pascal programs from cgi-bin?
I can wrap the pascal programs with a bash or Perl script in cgi, but I 
just wondered if there isnt some pascal-cgi module or scripting language 
available?



Perl is just too cryptic for me.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Re: Breakpoints not working

2005-12-11 Thread Lv

You are quite right.
Although I am 99% Unix user, I came to the conclusion that Lazarus 
development on Linux is just not productive.
For the exact reason you mention below, using Lazarus on Windows and 
using Delphi to debug is way more productive.


I am actually starting to think that it is the best just to develop in 
Delphi on windows until a program works and is debugged and then port it 
to Linux using first Lazarus on windows and then Lazarus on Linux for a 
final native compile.


The option to use a decent debugger as on Delphi makes this a much more 
efficient process than to develop with Lazarus on Linux.


I would have preferred to develop on Linux only as my programs are not 
used on windows at all, but believe me, developing "pascal/lazarus" code 
on windows is way more efficient than to use Lazarus's debugger on Linux.


It would be a great day when we can have a debugger on Lazarus/Linux 
which works repeatably and responsibly.


If I knew exactly how to improve it I would, but I think we are caught 
in the trap of the debuggers in Linux which are horribly underpowered 
ambiguous and  idiosyncratic such as gdb.

Solving this problem would mean rewriting gdb until it behaves properly.
I am not up to that and since the Delphi debugger works so well, I 
rather develop there and use Lazarus for porting it back to Linux.


The good thing about not having a debugger is that I am forced to write 
vanilla code that must convert to Delphi easily. That is a pretty good 
thing, so the lack thereof makes you a better programmer, but not a more 
efficient one time-wise.







Felipe Monteiro de Carvalho wrote:
If your program doesn't use the form designer it is pretty easy to make 
it compile on Delphi also. This is what I do, so when I am on Windows I 
can use Delphi to debug.


This is why I am so interested on that "Universar Converter" project to 
convert the visual forms from Lazarus to Delphi and the other way around.


Felipe

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives




_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Breakpoints not working

2005-12-11 Thread Lv

If Breakpoints step step into etc does work in Laarus it works
intermittently according to my eperience.

I dont use it anymore as it is not remotely similar in performance to
Delphi.

I debug by copying the program over and insert extis and cod to print
out variable and memory dumps before the steps where I get problems and
then move this code down like a breakpoint in order to evaluate where
the trouble in my code is.

Allthough this takes about 20x longer than Delphi's debuger, it does
solve the problem for me, but it is truly inefficient.

It would be really nice if Lazarus can have a fast and efficient "means
business" debugger that responds in a predictable way at least.

So far breakpoints take forever to be reached and the more complex a
program becomes the stranger the behavior.

This is not a rant, i just describe my experience and hope it would help
to make someone look at the debugger as the single most important
lacking feature of Lazarus. i understand that it might work for some
people, but I believe that is due to the fact that programs are simple.
The more complex, the more confusing the debugger behaves.

The program copied over to an old version of Kylix debugs really great
on Kylix. But, kylix is no more.







Joost van der Sluis wrote:
Okay, the problem was the stupid user behind the keyboard!!  Every time 
I upgraded to one of the unstable builds, I forgot to actually set the 
debugger in Environment -> Debugger Options.


Sorry for the false alarm.



I make this mistake also now and then. Maybe it is an idea to generate a
warning, messagebox or something like that if a user has breakpoints in
his project and runs the program, but hasn't defined a debugger? Like:

"The project has breakpoints defined, but there is no debugger defined
in the environment options? The program is will be started without the
debugger."




_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Breakpoints not working

2005-12-08 Thread Lv

I never got it to work even under Linux during the last 2 years.
In linux it takes about half a day to go to the next step in a program.
I dont use it anymore, which is a pity.
The Kylix and old BP7 debuggers we used to use are just great and very 
responsive.
It is to me the biggest weakness of Lazarus as  Borland-like debuggers 
are essential for anyone who want to migrate to lazarus.



Graeme Geldenhuys wrote:

Hi

I noticed today that BreakPoints don't work anymore in 0.9.11 on 
Windows. Not sure about other platforms.


Nightly's downloaded:

lazarus-0.9.11-20051122
lazarus-0.9.11-20051207

I double checked, and it does work in 0.9.10

I know 0.9.11 is the unstable version, just thought I would mention it 
for in case nobody noticed.


Regards,
  - Graeme -



_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives




_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] lazarus site is hacked

2005-10-28 Thread Lv

This is getting annoying..

Cant you guys just use Linux or BSD with ipchains or iptables.
If you want a firewall script let me know.



barko wrote:
:-/ 








_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives