Hi Anderson,
thank you very much - I am using Octave and the suggestion you gave worked!
All the best,
Darko
On 10/6/17, Anderson M. Winkler <[log in to unmask]> wrote:
> Hi Darko,
>
> Try adding the directory where Matlab's executable is located to your path.
> For example, say your Matlab is at /opt/matlab/bin/matlab, then run:
>
> *export PATH=${PATH}:/opt/matlab/bin*
>
>
> Then try running make again.
>
> Another option is to compile and run with Octave: cd into @gifti/private/
> and instead of make, run:
>
>
> *mkoctfile --mex zstream.c**mkoctfile --mex miniz.c*
>
>
> But then edit the "palm" executable so that it uses Octave instead of
> Matlab.
>
> Hope either of these options fixes the problem.
>
> All the best,
>
> Anderson
>
> On 5 October 2017 at 11:24, Darko Komnenić <[log in to unmask]> wrote:
>
>> Hi Anderson,
>> I checked online on how to do it, and it seems that my Ubuntu version
>> is 64 bit (after running uname -a one of the specifications shown is
>> x86_64). After CD-ing into the folder you specified and running "make"
>> I receive the following error:
>> makemex -O -largeArrayDims CFLAGS='$CFLAGS -std=c99' zstream.c
>> make: mex: Command not found
>> Makefile:34: recipe for target 'zstream.mexa64' failed
>> make: *** [zstream.mexa64] Error 127
>>
>> Do you have any suggestions? Thanks a lot!
>>
>> On 10/5/17, Anderson M. Winkler <[log in to unmask]> wrote:
>> > Hi Darko,
>> >
>> > It looks like the i/o tools for GIFTI aren't compiled for your
>> > platform.
>> > You don't say but I suspect you're using a 32-bit Ubuntu, whereas the
>> files
>> > already come compiled for 64-bit. Try running "make" from inside
>> > /home/lisak/Desktop/palm-alpha109/fileio/@gifti/private/, then trying
>> > again.
>> >
>> > All the best,
>> >
>> > Anderson
>> >
>> >
>> > On Friday, 29 September 2017, Darko Komnenić <[log in to unmask]>
>> wrote:
>> >
>> >> Hi Anderson,
>> >> thank you for the fast reply! This are my operating system features:
>> >> Distributor ID: Ubuntu; Description: Ubuntu 16.04.2 LTS; Release:
>> >> 16.04. If you need some additional info, let me know!
>> >> Best,
>> >> Darko
>> >>
>> >> On 9/29/17, Anderson M. Winkler <[log in to unmask]> wrote:
>> >> > Hi Darko,
>> >> >
>> >> > What platform are you using? Seems like the GIFTI functions aren't
>> >> compiled
>> >> > for your operating system & architecture.
>> >> >
>> >> > All the best,
>> >> >
>> >> > Anderson
>> >> >
>> >> >
>> >> >
>> >> > On 28 September 2017 at 13:19, Darko Komnenić <[log in to unmask]>
>> >> wrote:
>> >> >
>> >> >> Hi everyone,
>> >> >> I am trying to run PALM to compare cortical myelin content between
>> >> >> patients and controls. After I entered the palm command, I got the
>> >> >> following error:
>> >> >>
>> >> >> Loading surface 1/1: /home/lisak/Desktop/NMO_
>> >> >> myelin/L_surf_midthick.surf.gii
>> >> >> error: gifti_Data:
>> >> >> /home/lisak/Desktop/palm-alpha109/fileio/@gifti/private/z
>> stream.mex:
>> >> >> failed to load:
>> >> >> /home/lisak/Desktop/palm-alpha109/fileio/@gifti/private/z
>> stream.mex:
>> >> >> invalid ELF header
>> >> >> error: called from
>> >> >> read_gifti_file_standalone>gifti_Data at line 167 column 11
>> >> >> read_gifti_file_standalone>gifti_DataArray at line 125 column 31
>> >> >> read_gifti_file_standalone at line 48 column 29
>> >> >> gifti at line 71 column 22
>> >> >> palm_miscread at line 279 column 13
>> >> >> palm_takeargs at line 1559 column 19
>> >> >> palm_core at line 33 column 11
>> >> >> palm at line 81 column 1
>> >> >>
>> >> >> So I tried to open this zstream.mex file, and I get the
>> >> >> information:
>> >> >> "Could not display zstream.mex". The file is of an unknown type."
>> >> >> Do
>> I
>> >> >> need to have installed some additional program so that this file
>> >> >> can
>> >> >> be loaded and so that PALM can work?
>> >> >>
>> >> >> This is also my first time trying PALM, so I apologize if the
>> question
>> >> >> is trivial.
>> >> >> Thanks in advance!
>> >> >> Darko
>> >> >>
>> >> >
>> >>
>> >
>>
>
|