SOM-IT installation error

27 views
Skip to first unread message

vasil...@gmail.com

unread,
Feb 22, 2013, 6:48:06 PM2/22/13
to silicos-it-ch...@googlegroups.com
Hi
I tried to install the SOM-it package on my ScientificLinux 6.3 machine and I got the following error:


sudo make
/usr/bin/g++ -c som-it.cpp
som-it.cpp: In function ‘int main(int, const char**)’:
som-it.cpp:38: error: ‘atoi’ was not declared in this scope
som-it.cpp:51: error: ‘atof’ was not declared in this scope
som-it.cpp:70: error: ‘atof’ was not declared in this scope
make: *** [som-it.o] Error 1

The g++ compiler is there, and paths have been checked. Any ideas what's wrong?

Kind Regards

Basil

Hans De Winter

unread,
Feb 23, 2013, 6:33:52 AM2/23/13
to silicos-it-ch...@googlegroups.com
Hi Basil,

it could be that your compiler requires different types of include definitions. Could you try to add the following line:

#include <stdlib.h>

after the already existing line:

#include <cstdlib.h>

so that it becomes:

#include <cstdlib.h>
#include <stdlib.h>

and let me know?

Thx,
Hans





www.silicos-it.com

A division of Imacosi bvba
De Roskam 35,
2970 Schilde
Belgium

--
You received this message because you are subscribed to the Google Groups "Silicos-it chemoinformatics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to silicos-it-chemoinf...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

vasil...@gmail.com

unread,
Feb 23, 2013, 4:35:52 PM2/23/13
to silicos-it-ch...@googlegroups.com

Hi Hans,
Thanks for your suggestion. It was close to the solution but not exactly.

The som-it.cpp file (as downloaded) does not contain any of the headers you mentioned.

But when i added

#include <cstdlib>

It compiled. I think the "#include <stdlib.h>" header is for C language programs.

It would be great if you double check. I will move on testing following the rest of the instructions and report back if the compiled file works as expected.

Regards

Basil
To unsubscribe from this group and stop receiving emails from it, send an email to silicos-it-chemoinformatics+unsub...@googlegroups.com.

Hans De Winter

unread,
Feb 24, 2013, 5:33:49 AM2/24/13
to silicos-it-ch...@googlegroups.com
Basil,

you are right: the downloaded file does not contain the header file. I'll update it.

Thx,
Hans



www.silicos-it.com

A division of Imacosi bvba
De Roskam 35,
2970 Schilde
Belgium

To unsubscribe from this group and stop receiving emails from it, send an email to silicos-it-chemoinf...@googlegroups.com.

vasil...@gmail.com

unread,
Feb 24, 2013, 12:07:35 PM2/24/13
to silicos-it-ch...@googlegroups.com
Hans
BTW you mention in your documentation that you used your spectrophore fingerprint and the SOM package to project chemicals available from vendors.
So I was wondering what the format of the file you submitted to the SOM software to perform this analysis ? Basically my question is what the spectrophore fingeprint format is ?
Is it binary, list of tab delimited integers or what ?
I do not have access to them but I have access to plenty of standard and novel fingerprints to play with and test the performance of the SOM software. I just need to know what the acceptable format of the file to be submitted for the training.

Also I will contact you with the private message to discuss using this type of work to the are of research I work at he moment.

Kind Regards

Basil

Hans De Winter

unread,
Feb 24, 2013, 4:06:21 PM2/24/13
to silicos-it-ch...@googlegroups.com
Basil,

the Spectrophore format is a series of 48 numbers (real number, no integers) for each molecule.

Regards,
Hans

To unsubscribe from this group and stop receiving emails from it, send an email to silicos-it-chemoinf...@googlegroups.com.

vasil...@gmail.com

unread,
Feb 26, 2013, 5:14:03 AM2/26/13
to silicos-it-ch...@googlegroups.com
Hi Hans
Thats great thanks
Basil
Reply all
Reply to author
Forward
0 new messages