In fact, quickly reading source FRICAS_INITFILE is a path to a file and not a directory.
Otherwise the function make_input_filename is used. No time to investigate more. Other may help you 2018-08-03 13:14 GMT+02:00 Grégory Vanuxem <[email protected]>: > Hi > > You can try to use the environment FRICAS_INITFILE via an 'export > FRICAS_INITFILE=/path/to/home' > > See src/interp/i-toplev.boot line 106 (readSpadProfileIfThere) where we > can read the routine return 'nil' if it this environment variable is not > defined. > > Not tested though, I would need more knowledge/investigation of the actual > source code. > > Cheers, > > Greg > > > > 2018-08-03 12:24 GMT+02:00 Riccardo GUIDA <[email protected]>: > >> No idea what is the problem but I reproduce the issue with Nasser erfc >> function. >> >> The macro erfc2 is taken into account and works. >> >> ric >> >> (1) -> )system cat /home/guida/.fricas.input >> )set output characters default >> macro %SIF(e) == unparse(e::InputForm) -- SPAD Input Form >> erfc(x) == 1 - erf(x) >> macro erfc2(x) == 1 - erf(x) >> (1) -> erfc2(1) >> >> (1) - erf(1) + 1 >> Type: >> Expression(Integer) >> (2) -> erfc(1) >> There are no library operations named erfc >> Use HyperDoc Browse or issue >> )what op erfc >> to learn if there is any operation containing " erfc " in its >> name. >> Cannot find a definition or applicable library operation named erfc >> with argument type(s) >> PositiveInteger >> Perhaps you should use "@" to indicate the required return >> type, >> or "$" to specify which version of the function you need. >> >> (2) -> )display op erfc >> erfc is not a known function. FriCAS will try to list its functions >> which contain erfc in their names. This is the same output you >> would get by issuing >> )what operations erfc >> >> There are no operations containing those patterns >> >> (2) -> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "FriCAS - computer algebra system" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/fricas-devel. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/fricas-devel. For more options, visit https://groups.google.com/d/optout.
