replacing stdio.h

replacing stdio.h

It seems that icc does not like using stdio.h as a header file, gcc does not mind. It (icc)gags and creates a lot of stuff about stdarg.h.

Okay, so what do I use instead? It seems you must have a replacement.

Any helpappreciated. Thank in advance.

Newport_j

11 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi Newport_j,

See my response to your other thread on gcc/icc - I bet if you upgrade to update 6 or later you won't have any more problems like this.

Brandon Hewitt
Technical Consulting Engineer

For 1:1 technical support: http://premier.intel.com

Software Product Support info: http://www.intel.com/software/support

Yes, but how doI upgrade? Is it a clean install of the upgade version or do I just download an upgrade "patch"? Also, please undertsand that I am on my 30 days try before you buy period and how do I upgrade with that in mind?

I just want this thing to compile soI can run the program.

Any help appreciated.

Newport_j

Go to http://registrationcenter.intel.com. Login with the info you would have used to get your evaluation (if you don't know what this is let me know).

You should come to a list of the products you have registered. One of them will be Intel C++ Composer XE 2011 for Linux*. Click on that link so that you get to a download page with links to a couple different packages. This should by default bring up the latest2011 update(update 9 which just posted today). You can check the version listboxes on the lower right to confirm. Then just click the link for the package you'd like, for example"Product for 32-bit/64-bit (x64) development", and the download should commence. For me, following these instructions I end up with a filename "l_ccompxe_2011.9.293.tgz", but anything that says 2011.6, 2011.7, 2011.8 or 2011.9 should support Ubuntu 11.04. This is a full product install, but it should just install side-by-side with your current 12.0 installation. If you have issues, let me know.

Your evaluation looks like it lasts until March 18, so you should still have plenty of time.

Brandon Hewitt
Technical Consulting Engineer

For 1:1 technical support: http://premier.intel.com

Software Product Support info: http://www.intel.com/software/support

i would like to remove my earlier version of Intel Cilk++. Since it does not work with Ubuntu 11.04 why keep it? I do not want to install the new versionbeside it, I want toput the new working version in and get rid of the old non-working version.

Is there an uninstall command for Intel Cilk++? CanI just remove directories with the old Intel Cilk++ file in them? Does it mess with any system files that need to be returned to the previous state before Intel Cilk++ was ever installed?

I know that there is a dirctory:

/opt/intel/bin/

That hasthe Old Intel Cilk++files init, but it is a generic title for directory and it may have other Intel binaries in it - binaries not for Intel Cilk++. Thus simply removing that directory and all offshoots from it may remove more than I want to remove from my computer. Thus an uninstall command for the old Intel Cilk++ would be best.

Is ther one? If not how do i remove the old version of Intel Cilk++?

Any help appreciated.

Newport_j

Hi Newport,
When you say remove Intel Cilk++, do you mean to say that you want to remove the GCC compiler that supported Intel Cilk++? If so,I do not know of anuninstall command.

One way to do it is to install newer binaries on top on it and that will get rid of the stale ones.

Thanks,

Balaji V. Iyer.

NoI just have an earlier version of the Intel Cilk++ compiler - preupdate 6. I want to install later version, but not patchwork. Justa complete install. Thus remove old Intel Cilk++ version.

Newport_j

There is an uninstall.sh script in the bin directory of the specific composer_xe directory. For you, it's likely in:

/composer_xe_2011_sp1.6.233/bin

Run that script from a directoryoutside the install tree (for example, from your home directory), and it will uninstall.

Brandon Hewitt
Technical Consulting Engineer

For 1:1 technical support: http://premier.intel.com

Software Product Support info: http://www.intel.com/software/support

You may find our article at http://software.intel.com/en-us/articles/using-intel-compilers-for-linux-with-ubuntu/ helpful here, although it's a little aged.

Brandon Hewitt
Technical Consulting Engineer

For 1:1 technical support: http://premier.intel.com

Software Product Support info: http://www.intel.com/software/support

Hi newport_j,

I've noticed that you've created some more threads. Let me be clear - until you have a version of the compiler that supports Ubuntu 11.04, we can't help you with any problems you may have that we can't reproduce on a supported operating system (and so far, the basic compilations you suggest work fine on Ubuntu 10.04). I would really recommend, before you do anything else, or try any further compilations, getting update 6 or later installed. Otherwise we have no idea if any of the problems you are having are just because you're running on an unsupported operating system.

Brandon Hewitt
Technical Consulting Engineer

For 1:1 technical support: http://premier.intel.com

Software Product Support info: http://www.intel.com/software/support

I do have the latest version of Intel Cilk++. I have had it all week. The icc -v returns
12.1.3 (gcc version 4.2.4 compatibility)

I installed it last week-end after remving the older version.

It seemed to not change a thing. The errors that I got on the old version are still here. Nothing appeared to change. I was disppointed.

Any help hel appreciated.

newport_j

Leave a Comment

Please sign in to add a comment. Not a member? Join today