Is USPEX compatible with MATLAB R2017a?

268 views
Skip to first unread message

Rishi Sreedhar

unread,
Nov 1, 2017, 1:40:59 PM11/1/17
to USPEX

Dear USPEX Users,

I'm very new to USPEX and was wondering if USPEX was compatible with MATLAB 2017? I ask because when I try to run the first tutorial as given in the manual, Example 13, I get the following errors, first of which is a Matlab error.

Error using fprintf
Invalid file identifier. Use fopen to generate a valid file identifier.

Error in calcDefaultVolume (line 6)
fprintf(fp, '%5d\n', length(numIons));

Error in createORG_System (line 169)
V_atom(i) = calcDefaultVolume(1, ORG_STRUC.atomType(i),
ORG_STRUC.ExternalPressure, 0, tempFolder, codeFolder);

Error in createORGStruc (line 86)
createORG_System(inputFile);

Error in Start (line 55)
createORGStruc(inputFile);

It would be a great help if anyone could shed some light on this.

Thanking you,
Rishi.

Andrés Sicard-Ramírez

unread,
Nov 1, 2017, 5:55:11 PM11/1/17
to USPEX

On Wednesday, 1 November 2017 12:40:59 UTC-5, Rishi Sreedhar wrote:

I'm very new to USPEX and was wondering if USPEX was compatible with MATLAB 2017? I ask because when I try to run the first tutorial as given in the manual, Example 13, I get the following errors, first of which is a Matlab error.

I hadn't problems (on Ubuntu) using USPEX 9.4.4 and MATLAB R2017a on Example 13.

Best,
Andrés

Rishi Sreedhar

unread,
Nov 2, 2017, 1:12:43 AM11/2/17
to USPEX

Oh... Thank you for the information Andres.
Any ideas on why there is an error for me? Could it be because I've installed both my Matlab and USPEX as root?? I too am using USPEX 9.4.4 on Ubuntu 16.04.

Best,
Rishi.

Arnab Kabiraj

unread,
Nov 18, 2017, 9:24:55 PM11/18/17
to USPEX
I'm having exactly the same problem. Any idea how to resolve it?

Rishi Sreedhar

unread,
Nov 19, 2017, 2:40:52 AM11/19/17
to USPEX
I had to switch to MATLAB R2016a  for USPEX 9.4.4 to work.

Also, the fopen error was said to be because of permission denials and Ithought it could be because I had installed both MATLAB and USPEX as root in my system, but reinstalling locally didn't really help. What worked foe me was the local installation of MATLAB R2016a and USPEX locally.

Best,
Rishi.

Denise Adorno

unread,
Nov 27, 2017, 9:37:07 AM11/27/17
to USPEX
Hi Rishi,

I am having the same problem.

Do you have any other solution rather than switch to Matlab R2016a?

Cheers

Rishi Sreedhar

unread,
Nov 27, 2017, 1:15:27 PM11/27/17
to USPEX
Hello Denise,

Unfortunately, I don't really know.  Had you installed MATLAB & USPEX locally or as root in your system. Also, are you using Ubuntu?

Cheers.

Denise Adorno

unread,
Dec 13, 2017, 10:08:17 AM12/13/17
to USPEX
Hi Rishi,

I am using a cluster from my university for run parallel calculations, thus Matlab is in the  root system and USPEX locally (my user only).

Any ideas?

Cheers

Denise Adorno
Reply all
Reply to author
Forward
0 new messages