search for: myprog

Displaying 20 results from an estimated 41 matches for "myprog".

2013 Jul 24
2
[LLVMdev] Program compiled with Clang -pg and -O crashes with SEGFAULT
Hi, I am trying to compile a simple program with Clang 3.3 on Linux and used -pg and -O2 option. The program would crash with segfault. Interestingly if I compile it with -pg option only it works. Do you have any idea why it crashes? And any workaround? $ cat myprog.c int main() { return 0; } $ clang -v -pg -O2 myprog.c clang version 3.3 (tags/RELEASE_33/final) Target: x86_64-pc-linux-gnu Thread model: posix "/usr/bin/clang" -cc1 -triple x86_64-pc-linux-gnu -emit-obj -disable-free -disable-llvm-verifier -main-file-name myprog.c -mrelocation-m...
2013 Jul 24
0
[LLVMdev] Program compiled with Clang -pg and -O crashes with SEGFAULT
...o Yang wrote: > Hi, > > I am trying to compile a simple program with Clang 3.3 on Linux and used -pg and -O2 option. The program would crash with segfault. Interestingly if I compile it with -pg option only it works. Do you have any idea why it crashes? And any workaround? > > $ cat myprog.c > int main() { > return 0; > } > > $ clang -v -pg -O2 myprog.c if you compile with -fno-omit-frame-pointer, the crash goes away, right? > clang version 3.3 (tags/RELEASE_33/final) > Target: x86_64-pc-linux-gnu > Thread model: posix > "/usr/bin/clang"...
2004 Mar 31
2
functions & paths
...lt;-function() { library(quadprog) } Is there any way that this function can be saved outside of R? That is, is there any procedure that will run specified R commands whenever R is invoked? 2) Is there anyway to specify additional paths for R to search. For example, I have some R script named, myProg.r that is saved in a directory C:\Programs\RLanguage\Rob\. I run the script in the following way: source("C:/Programs/RLanguage/Rob/myProg.r") This works fine, but I was wondering if there is any command that could be entered into the .First function described above that adds the direct...
2010 Aug 12
2
Is oprofile still working?
...ing oprofile? I'm getting segfaults from opreport at the moment, and I'm not sure if it is opreport, or just me. In case it is something just plain daft I am doing, here is how it goes: opcontrol --reset opcontrol --setup --no-vmlinux opcontrol --start ... now I run my program, /tmp/myprog ... opcontrol --dump opcontrol --shutdown then I run, opreport -l /tmp/myprog and get: warning: [vdso] (tgid:4780 range:0x8d7000-0x8d8000) could not be found. warning: [vdso] (tgid:4784 range:0x860000-0x861000) could not be found. CPU: Core Solo / Duo, speed 1067 MHz (estimated) Counted CP...
2020 Nov 11
4
crontab query
I need to schedule a process/program every hour on the hour between 9am and 4pm on the 2nd through the 9th of each month except on Saturday and Sunday.? So, I tried this entry: 0 9-16 2-9 * 1-5 ./myprog.sh Unfortunately it runs outside of the 2nd through the 9th and still runs on Sat. through Sun. Is there a way to do this (outside the program itself)? -Frank
2018 Jul 13
3
Super-verbose failure mode for FileCheck
Hi All, FileCheck is a great tool for writing tests. However, it can be also a great tool for hiding the error cause from you, especially if a very common idiom RUN: ./myprog | FileCheck %s is used. If you need to know the output of “myprog” to figure out why your test is failing — then well, good luck, you would need to manually copy’n paste that line, run it, and then note the output. (produced line “expected/got” are rarely enough to debug the problem) Would it be...
2009 Feb 02
1
Desktop icon
Hi, With older wine , to have a desktop icon of my program, I was doing, for example : wineshelllink --desktop --path /home/viny/.wine/dosdevices/c:/path/myprog.exe --link MyProg --icon myprog.xpm --workdir /home/viny/.wine/dosdevices/c:/MyProg But how to do with current wine version : wineshelllink doesn't exist anymore ? Thanks
2007 Feb 14
1
lattice graphics and source()
Hi, I am trying the lattice graphics in R. Let's say, such a little experiment in file myprog.r: f <- function(){ x <- 1:10 y <- x^2 xyplot(y ~ x) } f() Then I run the program: > source("myprog.r") but nothing happens. Manully run f() at the command line: > f() then the figure is shown. This seems to be a bug only associated with lattice graphics, the old...
2008 Jun 19
1
Need GLIBCXX-3.4.9 for /usr/lib64/libstdc++
I am trying to compile an application on a CentOS 5.0 64-bit machine that gives me the error: /usr/local/bin/myprog: /usr/lib64/libstdc++: version `GLIBXX.3.4.9' not found (required by /usr/local/bin/myprog) I have gcc 4.2.3. I've performed a yum install compat-* and glibc* What am I missing? Thanks. Scott
2009 Oct 10
1
Help with OCaml bindings for R interpreter.
...ding is dynamically linked to the /usr/lib/R/lib/libR.so and to the /usr/lib/libRmath.so libraries. Its purpose is to access R functionalities from OCaml programs. However, as it now stands, the binding is not fully functional: When an OCaml program is compiled with this binding, to generate, say, myprog.byte, it is necessary to run R CMD ./myprog.byte in order for the program to work as expected. I would therefore like to know how to *completely* embed the R interpreter inside my binding. Could anyone provide generic information on this topic, or point me to the right documentation? All the be...
2010 Dec 18
1
Rcmd SHLIB error
I am getting this error message when I try to run Rcmd SHLIB myprog.c. There appears to be a missing / between etc and i386 in the path. I am on Windows Vista and am using R version 2.12.1 Patched (2010-12-16 r53864) and just downloaded Rtools 2.12 today. Is this a bug in R? How can I resolve this? C:\tmp2>Rcmd SHLIB myprog.c cygwin warning: MS-DOS style...
2008 May 24
8
Why is wineprefixcreate deprecated?
I understand that it is applied automatically when needed, but there are times when one would want to run it manually. An example is when I want to literally create a new wine prefix such as env WINEPREFIX="/home/bamm/apps/myprog" wineprefixcreate to prepare a clean profile for future installation of myprog. I know that running setup with a WINEPREFIX would create the clean profile, but sometimes I would want to copy a few needed files into the system32 folder before running setup. Hence, in this case, I would want th...
2005 Dec 23
1
can someone help me understand LAM/MPI and Rmpi for use on a cluster
I'm fairly astute at C and R but new to parallelization. Would someone be willing to provide help in the form of a simple example that parallelizes an R function from the inside of a C routine? If so, write me back at izmirlig at mail.nih.gov Thanks!
2019 Aug 08
2
another bizarre thing...
...dentifying the sender of the SIGKILL. probe signal.send { if (sig_name == "SIGKILL") printf("%s was sent to %s (pid:%d) by %s uid:%d\n", sig_name, pid_name, sig_pid, execname(), uid()) unfortunately, it says the program is killing itself: SIGKILL was sent to myprog (pid:12269) by myprog uid:1000 So,... now I'm wondering how one figures that out. nowhere in my source code does it explicitly raise any signal, much less SIGKILL. So there must be some underlying library or system call or something doing it. -- ---- Fred Smith -- fredex at fcshome.stoneham.m...
2019 Aug 07
0
another bizarre thing...
...dentifying the sender of the SIGKILL. probe signal.send { if (sig_name == "SIGKILL") printf("%s was sent to %s (pid:%d) by %s uid:%d\n", sig_name, pid_name, sig_pid, execname(), uid()) unfortunately, it says the program is killing itself: SIGKILL was sent to myprog (pid:12269) by myprog uid:1000 So,... now I'm wondering how one figures that out. nowhere in my source code does it explicitly raise any signal, much less SIGKILL. So there must be some underlying library or system call or something doing it. -- ---- Fred Smith -- fredex at fcshome.stoneham....
2008 Oct 23
0
RCMD SHLIB: static libraries and f77 libraries on Windows
...tions. I've run into two issues that I haven't been able to resolve. I've looked at the R-exts manual and Readme files, but haven't found answers. (1) Can I link to a (Win32) static library? Is there some option to RCMD SHLIB that allows this? I've tried RCMD SHLIB myprog.c -l mylib.a but it doesn't work. Perhaps setting the flag LDFLAGS? If so, how do I do this? Perhaps using MakeVar/MakeFile? Failing this, is there a way to use a wildcard on a link , e.g. RCMD SHLIB myprog.c *.o, instead of having to list ~100 object files? (2) I'm using some legacy...
2003 May 07
2
"Program" files
Is there any such thing as a program file in R? That is, is it possible to compile and save code for performing data management and analytic tasks for a given project into a single/multiple file(s) (i.e., like a script file (S-Plus), a do file (STATA), or a *.sas file (SAS))? Any words of wisdom or a point in the direction of some documentation would be helpful. If it is not possible to work
2000 Aug 19
3
New LSP code committed
So, it turns out (and another implementation actually explicitly mentions it) that LSP->LPC computation using the FIR algorithm is very sensitive to noise (iterative algorithm) and really really requires doubles [we're not kidding]. This was complicating things for folks pursuing fixed point implementations, and also was a potential source for bugs if FP optimizations got out of hand. This
2019 Aug 08
0
another bizarre thing...
...gt; probe signal.send { > if (sig_name == "SIGKILL") > printf("%s was sent to %s (pid:%d) by %s uid:%d\n", > sig_name, pid_name, sig_pid, execname(), uid()) > > unfortunately, it says the program is killing itself: > > SIGKILL was sent to myprog (pid:12269) by myprog uid:1000 > > So,... now I'm wondering how one figures that out. nowhere in my source code does it explicitly raise any signal, much less SIGKILL. > So there must be some underlying library or system call or something doing it. > > -- > ---- Fred Smith -...
2005 Jan 01
2
New Year Wish List
...all those who have contributed to R over the past year. As with last year, for New Year I would like to list the top 10 features I would like to see in R. The first three are the most important. 1. Scripting With this feature it would be possible to call R like this as a filter: R -f myprog.R infile1.txt infile2.txt > outfile.txt or prog1 | R -f myprog.R | prog2 making it convenient to replace many instances of awk/perl/batch with R. This could also be used by R itself to eliminate dependence on perl and UNIX tools in the package building scripts. There are worka...