Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Fortran MEX: mexfunction_ symbol lost when autoparallelising

Subject: Fortran MEX: mexfunction_ symbol lost when autoparallelising

From: Thomas Clark

Date: 6 Aug, 2011 15:47:10

Message: 1 of 1

Hello All,

I've posted this problem in great detail at the Intel forums...
http://software.intel.com/en-us/forums/showthread.php?t=84982

... but thought I'd mention it here in case someone from the MATLAB world had seen this very unusual error.

Essentially, I'm compiling a FORTRAN mex function (x86-64, Intel FC v12, Suse linux) which works perfectly when run in serial mode.

However, when I use the -parallel flag in compilation (IFC allows auto parallelisation), the mexfunction_ symbol is lost from the resultant MEX file. Hence, MATLAB can no longer run the file.

Something wrong with the linking stage, I think - but no idea what!

Anyhow, If this sort of problem sounds familiar to anyone, it would be good to hear from you!

Thanks,

Tom
 

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us